Update API baselines

This commit is contained in:
Ryan Cavanaugh 2018-05-14 09:58:32 -07:00
parent 69f73eba16
commit 86145eedb1
2 changed files with 15 additions and 6 deletions

View file

@ -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;

View file

@ -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;