Fix some strict null errors revealed by change to emitter

This commit is contained in:
Matt Bierner
2020-04-08 18:06:24 -07:00
parent d4ce7148dd
commit 7ae7343973
3 changed files with 3 additions and 3 deletions

View File

@@ -405,7 +405,7 @@ export default class TypeScriptServiceClient extends Disposable implements IType
handle.onEvent(event => this.dispatchEvent(event));
this._onReady!.resolve();
this._onTsServerStarted.fire(version.apiVersion);
this._onTsServerStarted.fire(apiVersion);
if (apiVersion.gte(API.v300)) {
this.loadingIndicator.startedLoadingProject(undefined /* projectName */);