Simplify expression type to fix build break (#41942)

This commit is contained in:
Wesley Wigham
2020-12-12 13:51:10 -08:00
committed by GitHub
parent ee1f262698
commit 6bcb6bb369

View File

@@ -465,7 +465,7 @@ namespace ts {
}
function stripInternalScenario(fs: vfs.FileSystem, removeCommentsDisabled?: boolean, jsDocStyle?: boolean) {
const internal = jsDocStyle ? `/**@internal*/` : `/*@internal*/`;
const internal: string = jsDocStyle ? `/**@internal*/` : `/*@internal*/`;
if (removeCommentsDisabled) {
diableRemoveCommentsInAll(fs);
}