diff --git a/src/vs/workbench/api/node/extHostTypes.ts b/src/vs/workbench/api/node/extHostTypes.ts index 12117cefb87..4d8eb68180d 100644 --- a/src/vs/workbench/api/node/extHostTypes.ts +++ b/src/vs/workbench/api/node/extHostTypes.ts @@ -491,7 +491,7 @@ export class TextEdit { constructor(range: Range, newText: string) { this.range = range; - this.newText = newText || ''; + this.newText = newText; } toJSON(): any {