Skip to content

Commit 00facc2

Browse files
committed
Removing hasProperty check
1 parent 473be82 commit 00facc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/checker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19958,7 +19958,7 @@ namespace ts {
1995819958
function getAmbientModules(): Symbol[] {
1995919959
const result: Symbol[] = [];
1996019960
for (const sym in globals) {
19961-
if (hasProperty(globals, sym) && ambientModuleSymbolRegex.test(sym)) {
19961+
if (ambientModuleSymbolRegex.test(sym)) {
1996219962
result.push(globals[sym]);
1996319963
}
1996419964
}

0 commit comments

Comments
 (0)