Skip to content

Commit 4fedd77

Browse files
Update LKG.
1 parent ad8bcfa commit 4fedd77

File tree

6 files changed

+932
-745
lines changed

6 files changed

+932
-745
lines changed

lib/tsc.js

Lines changed: 200 additions & 103 deletions
Large diffs are not rendered by default.

lib/tsserver.js

Lines changed: 216 additions & 354 deletions
Large diffs are not rendered by default.

lib/typescript.d.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1208,9 +1208,11 @@ declare namespace ts {
12081208
UnionOrIntersection = 49152,
12091209
StructuredType = 130048,
12101210
}
1211+
type DestructuringPattern = BindingPattern | ObjectLiteralExpression | ArrayLiteralExpression;
12111212
interface Type {
12121213
flags: TypeFlags;
12131214
symbol?: Symbol;
1215+
pattern?: DestructuringPattern;
12141216
}
12151217
interface StringLiteralType extends Type {
12161218
text: string;
@@ -1237,7 +1239,6 @@ declare namespace ts {
12371239
}
12381240
interface TupleType extends ObjectType {
12391241
elementTypes: Type[];
1240-
baseArrayType: TypeReference;
12411242
}
12421243
interface UnionOrIntersectionType extends Type {
12431244
types: Type[];
@@ -1532,7 +1533,7 @@ declare namespace ts {
15321533
* Read tsconfig.json file
15331534
* @param fileName The path to the config file
15341535
*/
1535-
function readConfigFile(fileName: string): {
1536+
function readConfigFile(fileName: string, readFile: (path: string) => string): {
15361537
config?: any;
15371538
error?: Diagnostic;
15381539
};

0 commit comments

Comments
 (0)