Searched refs:ambientModule (Results 1 – 8 of 8) sorted by relevance
2 declare module "ambientModule" {3 >"ambientModule" : typeof import("ambientModule")20 type GlobalBad1 = (typeof globalThis)["\"ambientModule\""]33 const bad1: (typeof globalThis)["\"ambientModule\""] = 'ambientModule'36 >'ambientModule' : "ambientModule"
1 …ce/es2019/globalThisAmbientModules.ts(8,39): error TS2339: Property '"ambientModule"' does not exi…2 …e/es2019/globalThisAmbientModules.ts(11,33): error TS2339: Property '"ambientModule"' does not exi…6 declare module "ambientModule" {13 type GlobalBad1 = (typeof globalThis)["\"ambientModule\""]15 !!! error TS2339: Property '"ambientModule"' does not exist on type 'typeof globalThis'.18 const bad1: (typeof globalThis)["\"ambientModule\""] = 'ambientModule'20 !!! error TS2339: Property '"ambientModule"' does not exist on type 'typeof globalThis'.
2 declare module "ambientModule" {3 >"ambientModule" : Symbol("ambientModule", Decl(globalThisAmbientModules.ts, 0, 0))21 type GlobalBad1 = (typeof globalThis)["\"ambientModule\""]35 const bad1: (typeof globalThis)["\"ambientModule\""] = 'ambientModule'
42 for (const ambientModule of sourceFile.statements.filter(isAmbientModule)) { constant43 if (!ambientModule.body) continue;45 …tModuleImportGroupDecls = groupImportsByNewlineContiguous(sourceFile, ambientModule.body.statement…50 … const ambientModuleExportDecls = ambientModule.body.statements.filter(isExportDeclaration);
228 for (const ambientModule of program.getTypeChecker().getAmbientModules()) { constant229 if (ambientModule.declarations && ambientModule.declarations.length > 1) {230 addReferenceFromAmbientModule(ambientModule);
3712 const ambientModule = tryFindAmbientModule(moduleReference, /*withAugmentations*/ true);3713 if (ambientModule) {3714 return ambientModule;
53871 var ambientModule = tryFindAmbientModule(moduleReference, /*withAugmentations*/ true);53872 if (ambientModule) {53873 return ambientModule;124672 var ambientModule = _g[_f];124673 if (ambientModule.declarations && ambientModule.declarations.length > 1) {124674 addReferenceFromAmbientModule(ambientModule);
44495 var ambientModule = tryFindAmbientModule(moduleReference, true);44496 if (ambientModule) {44497 return ambientModule;103584 var ambientModule = _g[_f];103585 if (ambientModule.declarations && ambientModule.declarations.length > 1) {103586 addReferenceFromAmbientModule(ambientModule);