mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-30 01:04:49 -05:00
Removing hasProperty check
This commit is contained in:
@@ -19958,7 +19958,7 @@ namespace ts {
|
||||
function getAmbientModules(): Symbol[] {
|
||||
const result: Symbol[] = [];
|
||||
for (const sym in globals) {
|
||||
if (hasProperty(globals, sym) && ambientModuleSymbolRegex.test(sym)) {
|
||||
if (ambientModuleSymbolRegex.test(sym)) {
|
||||
result.push(globals[sym]);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user