Strict null work on extHostComments

This commit is contained in:
Matt Bierner
2019-03-13 10:03:25 -07:00
parent a51d518f58
commit ba569d8960
4 changed files with 58 additions and 27 deletions

View File

@@ -211,6 +211,9 @@ export class CommandsConverter {
this._commands.registerCommand(true, this._delegatingCommandId, this._executeConvertedCommand, this);
}
toInternal(command: vscode.Command): CommandDto;
toInternal(command: undefined): undefined;
toInternal(command: vscode.Command | undefined): CommandDto | undefined;
toInternal(command: vscode.Command | undefined): CommandDto | undefined {
if (!command) {