Home
last modified time | relevance | path

Searched refs:moduleAugmentations (Results 1 – 9 of 9) sorted by relevance

/third_party/typescript/src/compiler/
DbuilderState.ts215 if (sourceFile.moduleAugmentations.length) {
217 for (const moduleName of sourceFile.moduleAugmentations) {
535 …return some(sourceFile.moduleAugmentations, augmentation => isGlobalScopeAugmentation(augmentation…
Dprogram.ts508 /* @internal */ moduleAugmentations: SourceFile["moduleAugmentations"]; property
1651 …f (index >= length(oldSourceFile?.imports) + length(oldSourceFile?.moduleAugmentations)) return fa…
1824 …else if (!arrayIsEqualTo(oldSourceFile.moduleAugmentations, newSourceFile.moduleAugmentations, mod…
2663 let moduleAugmentations: (StringLiteral | Identifier)[] | undefined;
2689 file.moduleAugmentations = moduleAugmentations || emptyArray;
2718 (moduleAugmentations || (moduleAugmentations = [])).push(node.name);
3333 if (file.imports.length || file.moduleAugmentations.length) {
4432 function getModuleNames({ imports, moduleAugmentations }: SourceFile): string[] {
4434 for (const aug of moduleAugmentations) {
4444 …export function getModuleNameStringLiteralAt({ imports, moduleAugmentations }: SourceFileImportsLi…
[all …]
Dtypes.ts4123 /* @internal */ moduleAugmentations: readonly (StringLiteral | Identifier)[];
Dchecker.ts44819 if (file.moduleAugmentations.length) {
44820 (augmentations || (augmentations = [])).push(file.moduleAugmentations);
/third_party/typescript/src/services/
DexportInfoMap.ts192 … !arrayIsEqualTo(oldSourceFile.moduleAugmentations, newSourceFile.moduleAugmentations) ||
255 ….commonJsModuleIndicator && !file.externalModuleIndicator && !file.moduleAugmentations && !file.am…
DorganizeImports.ts225 return isString(moduleSpecifierText) && some(sourceFile.moduleAugmentations, moduleName =>
Dservices.ts724 public moduleAugmentations!: StringLiteral[];
/third_party/typescript/lib/
DtypingsInstaller.js91546 if (file.moduleAugmentations.length) {
91547 (augmentations || (augmentations = [])).push(file.moduleAugmentations);
122074 …h(oldSourceFile === null || oldSourceFile === void 0 ? void 0 : oldSourceFile.moduleAugmentations))
122231 …else if (!ts.arrayIsEqualTo(oldSourceFile.moduleAugmentations, newSourceFile.moduleAugmentations, …
122954 var moduleAugmentations;
122978 file.moduleAugmentations = moduleAugmentations || ts.emptyArray;
123005 (moduleAugmentations || (moduleAugmentations = [])).push(node.name);
123547 if (file.imports.length || file.moduleAugmentations.length) {
124504 var imports = _a.imports, moduleAugmentations = _a.moduleAugmentations;
124506 …for (var _i = 0, moduleAugmentations_1 = moduleAugmentations; _i < moduleAugmentations_1.length; _…
[all …]
Dtsc.js77220 if (file.moduleAugmentations.length) {
77221 (augmentations || (augmentations = [])).push(file.moduleAugmentations);
101273 …h(oldSourceFile === null || oldSourceFile === void 0 ? void 0 : oldSourceFile.moduleAugmentations))
101394 …else if (!ts.arrayIsEqualTo(oldSourceFile.moduleAugmentations, newSourceFile.moduleAugmentations, …
102034 var moduleAugmentations;
102054 file.moduleAugmentations = moduleAugmentations || ts.emptyArray;
102073 (moduleAugmentations || (moduleAugmentations = [])).push(node.name);
102555 if (file.imports.length || file.moduleAugmentations.length) {
103437 var imports = _a.imports, moduleAugmentations = _a.moduleAugmentations;
103439 …for (var _i = 0, moduleAugmentations_1 = moduleAugmentations; _i < moduleAugmentations_1.length; _…
[all …]