replace void 0 with undefined

This commit is contained in:
Rob Lourens
2018-12-28 13:15:41 -08:00
parent 0d11396538
commit ef2547d547
413 changed files with 1515 additions and 1515 deletions

View File

@@ -14,7 +14,7 @@ export function activateTagClosing(tagProvider: (document: TextDocument, positio
updateEnabledState();
window.onDidChangeActiveTextEditor(updateEnabledState, null, disposables);
let timeout: NodeJS.Timer | undefined = void 0;
let timeout: NodeJS.Timer | undefined = undefined;
function updateEnabledState() {
isEnabled = false;
@@ -26,7 +26,7 @@ export function activateTagClosing(tagProvider: (document: TextDocument, positio
if (!supportedLanguages[document.languageId]) {
return;
}
if (!workspace.getConfiguration(void 0, document.uri).get<boolean>(configName)) {
if (!workspace.getConfiguration(undefined, document.uri).get<boolean>(configName)) {
return;
}
isEnabled = true;
@@ -68,7 +68,7 @@ export function activateTagClosing(tagProvider: (document: TextDocument, positio
}
}
});
timeout = void 0;
timeout = undefined;
}, 100);
}
return Disposable.from(...disposables);