@@ -10681,6 +10681,7 @@ declare namespace ts {
10681
10681
}
10682
10682
function getLineStartPositionForPosition(position: number, sourceFile: SourceFileLike): number;
10683
10683
function rangeContainsRange(r1: TextRange, r2: TextRange): boolean;
10684
+ function rangeContainsRangeExclusive(r1: TextRange, r2: TextRange): boolean;
10684
10685
function rangeContainsPosition(r: TextRange, pos: number): boolean;
10685
10686
function rangeContainsPositionExclusive(r: TextRange, pos: number): boolean;
10686
10687
function startEndContainsRange(start: number, end: number, range: TextRange): boolean;
@@ -11093,7 +11094,7 @@ declare namespace ts.FindAllReferences.Core {
11093
11094
/** Used as a quick check for whether a symbol is used at all in a file (besides its definition). */
11094
11095
function isSymbolReferencedInFile(definition: Identifier, checker: TypeChecker, sourceFile: SourceFile): boolean;
11095
11096
function eachSymbolReferenceInFile<T>(definition: Identifier, checker: TypeChecker, sourceFile: SourceFile, cb: (token: Identifier) => T): T | undefined;
11096
- function eachSignatureCall(signature: SignatureDeclaration, sourceFiles: ReadonlyArray<SourceFile>, checker: TypeChecker, cb: (sourceFile: SourceFile, call: CallExpression) => void): void;
11097
+ function eachSignatureCall(signature: SignatureDeclaration, sourceFiles: ReadonlyArray<SourceFile>, checker: TypeChecker, cb: (call: CallExpression) => void): void;
11097
11098
/**
11098
11099
* Given an initial searchMeaning, extracted from a location, widen the search scope based on the declarations
11099
11100
* of the corresponding symbol. e.g. if we are searching for "Foo" in value position, but "Foo" references a class
@@ -11562,8 +11563,10 @@ declare namespace ts {
11562
11563
function getSupportedErrorCodes(): string[];
11563
11564
function getFixes(context: CodeFixContext): CodeFixAction[];
11564
11565
function getAllFixes(context: CodeFixAllContext): CombinedCodeActions;
11566
+ function createCombinedCodeActions(changes: FileTextChanges[], commands?: CodeActionCommand[]): CombinedCodeActions;
11565
11567
function createFileTextChanges(fileName: string, textChanges: TextChange[]): FileTextChanges;
11566
11568
function codeFixAll(context: CodeFixAllContext, errorCodes: number[], use: (changes: textChanges.ChangeTracker, error: DiagnosticWithLocation, commands: Push<CodeActionCommand>) => void): CombinedCodeActions;
11569
+ function eachDiagnostic({ program, sourceFile, cancellationToken }: CodeFixAllContext, errorCodes: number[], cb: (diag: DiagnosticWithLocation) => void): void;
11567
11570
}
11568
11571
}
11569
11572
declare namespace ts {
@@ -11630,6 +11633,15 @@ declare namespace ts.codefix {
11630
11633
}
11631
11634
declare namespace ts.codefix {
11632
11635
}
11636
+ declare namespace ts.codefix {
11637
+ class Deleter {
11638
+ static with(context: textChanges.TextChangesContext, cb: (d: Deleter) => void): FileTextChanges[];
11639
+ static withChanges(changes: textChanges.ChangeTracker, cb: (d: Deleter) => void): void;
11640
+ private nodes;
11641
+ add(node: Node): void;
11642
+ private finish;
11643
+ }
11644
+ }
11633
11645
declare namespace ts.codefix {
11634
11646
}
11635
11647
declare namespace ts.codefix {
0 commit comments