@@ -10832,6 +10832,18 @@ declare namespace ts {
1083210832 forEach(cb: (node: Node) => void): void;
1083310833 some(pred: (node: Node) => boolean): boolean;
1083410834 }
10835+ interface ReadonlyNodeMap<TNode extends Node, TValue> {
10836+ get(node: TNode): TValue | undefined;
10837+ has(node: TNode): boolean;
10838+ }
10839+ class NodeMap<TNode extends Node, TValue> implements ReadonlyNodeMap<TNode, TValue> {
10840+ private map;
10841+ get(node: TNode): TValue | undefined;
10842+ getOrUpdate(node: TNode, setValue: () => TValue): TValue;
10843+ set(node: TNode, value: TValue): void;
10844+ has(node: TNode): boolean;
10845+ forEach(cb: (value: TValue, node: TNode) => void): void;
10846+ }
1083510847 function getParentNodeInSpan(node: Node | undefined, file: SourceFile, span: TextSpan): Node | undefined;
1083610848 function findModifier(node: Node, kind: Modifier["kind"]): Modifier | undefined;
1083710849 function insertImport(changes: textChanges.ChangeTracker, sourceFile: SourceFile, importDecl: Statement): void;
@@ -11592,8 +11604,10 @@ declare namespace ts {
1159211604 function getSupportedErrorCodes(): string[];
1159311605 function getFixes(context: CodeFixContext): CodeFixAction[];
1159411606 function getAllFixes(context: CodeFixAllContext): CombinedCodeActions;
11607+ function createCombinedCodeActions(changes: FileTextChanges[], commands?: CodeActionCommand[]): CombinedCodeActions;
1159511608 function createFileTextChanges(fileName: string, textChanges: TextChange[]): FileTextChanges;
1159611609 function codeFixAll(context: CodeFixAllContext, errorCodes: number[], use: (changes: textChanges.ChangeTracker, error: DiagnosticWithLocation, commands: Push<CodeActionCommand>) => void): CombinedCodeActions;
11610+ function eachDiagnostic({ program, sourceFile, cancellationToken }: CodeFixAllContext, errorCodes: number[], cb: (diag: DiagnosticWithLocation) => void): void;
1159711611 }
1159811612}
1159911613declare namespace ts {
0 commit comments