mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 06:17:19 -05:00
set augmentations, moduleAugmentations as readonly
This commit is contained in:
@@ -32101,7 +32101,7 @@ namespace ts {
|
||||
amalgamatedDuplicates = createMap();
|
||||
|
||||
// Initialize global symbol table
|
||||
let augmentations: (StringLiteral | Identifier)[][] | undefined;
|
||||
let augmentations: (readonly (StringLiteral | Identifier)[])[] | undefined;
|
||||
for (const file of host.getSourceFiles()) {
|
||||
if (file.redirectInfo) {
|
||||
continue;
|
||||
|
||||
@@ -2773,7 +2773,7 @@ namespace ts {
|
||||
/* @internal */ resolvedTypeReferenceDirectiveNames: Map<ResolvedTypeReferenceDirective | undefined>;
|
||||
/* @internal */ imports: readonly StringLiteralLike[];
|
||||
// Identifier only if `declare global`
|
||||
/* @internal */ moduleAugmentations: (StringLiteral | Identifier)[];
|
||||
/* @internal */ moduleAugmentations: readonly (StringLiteral | Identifier)[];
|
||||
/* @internal */ patternAmbientModules?: PatternAmbientModule[];
|
||||
/* @internal */ ambientModuleNames: readonly string[];
|
||||
/* @internal */ checkJsDirective?: CheckJsDirective;
|
||||
|
||||
Reference in New Issue
Block a user