Update API baselines
This commit is contained in:
parent
69f73eba16
commit
86145eedb1
|
@ -4701,6 +4701,12 @@ declare namespace ts {
|
||||||
interface DocumentSpan {
|
interface DocumentSpan {
|
||||||
textSpan: TextSpan;
|
textSpan: TextSpan;
|
||||||
fileName: string;
|
fileName: string;
|
||||||
|
/**
|
||||||
|
* If the span represents a location that was remapped (e.g. via a .d.ts.map file),
|
||||||
|
* then the original filename and span will be specified here
|
||||||
|
*/
|
||||||
|
originalTextSpan?: TextSpan;
|
||||||
|
originalFileName?: string;
|
||||||
}
|
}
|
||||||
interface RenameLocation extends DocumentSpan {
|
interface RenameLocation extends DocumentSpan {
|
||||||
}
|
}
|
||||||
|
@ -4798,9 +4804,7 @@ declare namespace ts {
|
||||||
insertSpaceBeforeTypeAnnotation?: boolean;
|
insertSpaceBeforeTypeAnnotation?: boolean;
|
||||||
indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean;
|
indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean;
|
||||||
}
|
}
|
||||||
interface DefinitionInfo {
|
interface DefinitionInfo extends DocumentSpan {
|
||||||
fileName: string;
|
|
||||||
textSpan: TextSpan;
|
|
||||||
kind: ScriptElementKind;
|
kind: ScriptElementKind;
|
||||||
name: string;
|
name: string;
|
||||||
containerKind: ScriptElementKind;
|
containerKind: ScriptElementKind;
|
||||||
|
@ -8410,6 +8414,7 @@ declare namespace ts.server {
|
||||||
private getDefinition;
|
private getDefinition;
|
||||||
private getDefinitionAndBoundSpan;
|
private getDefinitionAndBoundSpan;
|
||||||
private mapDefinitionInfo;
|
private mapDefinitionInfo;
|
||||||
|
private static mapToOriginalLocation;
|
||||||
private toFileSpan;
|
private toFileSpan;
|
||||||
private getTypeDefinition;
|
private getTypeDefinition;
|
||||||
private getImplementation;
|
private getImplementation;
|
||||||
|
|
10
tests/baselines/reference/api/typescript.d.ts
vendored
10
tests/baselines/reference/api/typescript.d.ts
vendored
|
@ -4701,6 +4701,12 @@ declare namespace ts {
|
||||||
interface DocumentSpan {
|
interface DocumentSpan {
|
||||||
textSpan: TextSpan;
|
textSpan: TextSpan;
|
||||||
fileName: string;
|
fileName: string;
|
||||||
|
/**
|
||||||
|
* If the span represents a location that was remapped (e.g. via a .d.ts.map file),
|
||||||
|
* then the original filename and span will be specified here
|
||||||
|
*/
|
||||||
|
originalTextSpan?: TextSpan;
|
||||||
|
originalFileName?: string;
|
||||||
}
|
}
|
||||||
interface RenameLocation extends DocumentSpan {
|
interface RenameLocation extends DocumentSpan {
|
||||||
}
|
}
|
||||||
|
@ -4798,9 +4804,7 @@ declare namespace ts {
|
||||||
insertSpaceBeforeTypeAnnotation?: boolean;
|
insertSpaceBeforeTypeAnnotation?: boolean;
|
||||||
indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean;
|
indentMultiLineObjectLiteralBeginningOnBlankLine?: boolean;
|
||||||
}
|
}
|
||||||
interface DefinitionInfo {
|
interface DefinitionInfo extends DocumentSpan {
|
||||||
fileName: string;
|
|
||||||
textSpan: TextSpan;
|
|
||||||
kind: ScriptElementKind;
|
kind: ScriptElementKind;
|
||||||
name: string;
|
name: string;
|
||||||
containerKind: ScriptElementKind;
|
containerKind: ScriptElementKind;
|
||||||
|
|
Loading…
Reference in a new issue