Mark types as nullable where we explicitly assign something to undefined

This commit is contained in:
Matt Bierner
2018-10-11 16:39:17 -07:00
parent 7c0bfb91d4
commit 69fd947d76
18 changed files with 26 additions and 26 deletions

View File

@@ -360,7 +360,7 @@ export class ExtHostDebugService implements ExtHostDebugServiceShape {
return this.getAdapterDescriptor(this._providerByType.get(config.type), sessionDto, folderUri, config).then(adapter => {
let da: AbstractDebugAdapter = undefined;
let da: AbstractDebugAdapter | undefined = undefined;
switch (adapter.type) {