Add type annotation into services so _services_ API baseline is stable post-LKG (#42028)

This commit is contained in:
Wesley Wigham
2020-12-17 18:09:42 -08:00
committed by GitHub
parent 2a736a88e3
commit 052d7308e6

View File

@@ -559,7 +559,7 @@ namespace ts.server {
}
}
getLatestVersion() {
getLatestVersion(): string {
// Ensure we have updated snapshot to give back latest version
this.textStorage.getSnapshot();
return this.textStorage.getVersion();