mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-15 03:23:08 -06:00
Removing hasProperty check
This commit is contained in:
parent
473be82572
commit
00facc2084
@ -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]);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user