Skip to content

Commit a385ad7

Browse files
Apparently non-clean builds can break API changes after a merge?
1 parent a1454c6 commit a385ad7

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

tests/baselines/reference/api/tsserverlibrary.d.ts

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1726,15 +1726,18 @@ declare namespace ts {
17261726
}
17271727
interface InputFiles extends Node {
17281728
kind: SyntaxKind.InputFiles;
1729+
javascriptPath?: string;
17291730
javascriptText: string;
17301731
javascriptMapPath?: string;
17311732
javascriptMapText?: string;
1733+
declarationPath?: string;
17321734
declarationText: string;
17331735
declarationMapPath?: string;
17341736
declarationMapText?: string;
17351737
}
17361738
interface UnparsedSource extends Node {
17371739
kind: SyntaxKind.UnparsedSource;
1740+
fileName?: string;
17381741
text: string;
17391742
sourceMapPath?: string;
17401743
sourceMapText?: string;
@@ -2214,6 +2217,7 @@ declare namespace ts {
22142217
}
22152218
interface UniqueESSymbolType extends Type {
22162219
symbol: Symbol;
2220+
escapedName: __String;
22172221
}
22182222
interface StringLiteralType extends LiteralType {
22192223
value: string;
@@ -3097,6 +3101,7 @@ declare namespace ts {
30973101
scanJsxIdentifier(): SyntaxKind;
30983102
scanJsxAttributeValue(): SyntaxKind;
30993103
reScanJsxToken(): JsxTokenSyntaxKind;
3104+
reScanLessThanToken(): SyntaxKind;
31003105
scanJsxToken(): JsxTokenSyntaxKind;
31013106
scanJSDocToken(): JsDocSyntaxKind;
31023107
scan(): SyntaxKind;
@@ -3978,9 +3983,11 @@ declare namespace ts {
39783983
function updateCommaList(node: CommaListExpression, elements: ReadonlyArray<Expression>): CommaListExpression;
39793984
function createBundle(sourceFiles: ReadonlyArray<SourceFile>, prepends?: ReadonlyArray<UnparsedSource | InputFiles>): Bundle;
39803985
function createUnparsedSourceFile(text: string): UnparsedSource;
3986+
function createUnparsedSourceFile(inputFile: InputFiles, type: "js" | "dts"): UnparsedSource;
39813987
function createUnparsedSourceFile(text: string, mapPath: string | undefined, map: string | undefined): UnparsedSource;
3982-
function createInputFiles(javascript: string, declaration: string): InputFiles;
3983-
function createInputFiles(javascript: string, declaration: string, javascriptMapPath: string | undefined, javascriptMapText: string | undefined, declarationMapPath: string | undefined, declarationMapText: string | undefined): InputFiles;
3988+
function createInputFiles(javascriptText: string, declarationText: string): InputFiles;
3989+
function createInputFiles(readFileText: (path: string) => string | undefined, javascriptPath: string, javascriptMapPath: string | undefined, declarationPath: string, declarationMapPath: string | undefined): InputFiles;
3990+
function createInputFiles(javascriptText: string, declarationText: string, javascriptMapPath: string | undefined, javascriptMapText: string | undefined, declarationMapPath: string | undefined, declarationMapText: string | undefined): InputFiles;
39843991
function updateBundle(node: Bundle, sourceFiles: ReadonlyArray<SourceFile>, prepends?: ReadonlyArray<UnparsedSource>): Bundle;
39853992
function createImmediatelyInvokedFunctionExpression(statements: ReadonlyArray<Statement>): CallExpression;
39863993
function createImmediatelyInvokedFunctionExpression(statements: ReadonlyArray<Statement>, param: ParameterDeclaration, paramValue: Expression): CallExpression;
@@ -7932,8 +7939,8 @@ declare namespace ts.server.protocol {
79327939
readonly importModuleSpecifierPreference?: "relative" | "non-relative";
79337940
readonly allowTextChangesInNewFiles?: boolean;
79347941
readonly lazyConfiguredProjectsFromExternalProject?: boolean;
7935-
readonly allowRenameOfImportPath?: boolean;
79367942
readonly providePrefixAndSuffixTextForRename?: boolean;
7943+
readonly allowRenameOfImportPath?: boolean;
79377944
}
79387945
interface CompilerOptions {
79397946
allowJs?: boolean;

0 commit comments

Comments
 (0)