mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-01 22:12:26 +01:00
Fix a few more emmet errors for strict null
This commit is contained in:
@@ -34,7 +34,7 @@ export function toggleComment(): Thenable<boolean> | undefined {
|
||||
|
||||
return editor.edit(editBuilder => {
|
||||
editor.selections.reverse().forEach(selection => {
|
||||
let edits = toggleCommentInternal(editor.document, selection, rootNode);
|
||||
let edits = toggleCommentInternal(editor.document, selection, rootNode!);
|
||||
edits.forEach(x => {
|
||||
editBuilder.replace(x.range, x.newText);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user