Skip to content

Commit cc4511d

Browse files
committed
Update LKG
1 parent 3a98906 commit cc4511d

File tree

8 files changed

+1940
-660
lines changed

8 files changed

+1940
-660
lines changed

bin/lib.core.es6.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,6 +1880,7 @@ interface Map<K, V> {
18801880
}
18811881

18821882
interface MapConstructor {
1883+
new (): Map<any, any>;
18831884
new <K, V>(): Map<K, V>;
18841885
new <K, V>(iterable: Iterable<[K, V]>): Map<K, V>;
18851886
prototype: Map<any, any>;
@@ -1896,6 +1897,7 @@ interface WeakMap<K, V> {
18961897
}
18971898

18981899
interface WeakMapConstructor {
1900+
new (): WeakMap<any, any>;
18991901
new <K, V>(): WeakMap<K, V>;
19001902
new <K, V>(iterable: Iterable<[K, V]>): WeakMap<K, V>;
19011903
prototype: WeakMap<any, any>;
@@ -1917,6 +1919,7 @@ interface Set<T> {
19171919
}
19181920

19191921
interface SetConstructor {
1922+
new (): Set<any>;
19201923
new <T>(): Set<T>;
19211924
new <T>(iterable: Iterable<T>): Set<T>;
19221925
prototype: Set<any>;
@@ -1932,6 +1935,7 @@ interface WeakSet<T> {
19321935
}
19331936

19341937
interface WeakSetConstructor {
1938+
new (): WeakSet<any>;
19351939
new <T>(): WeakSet<T>;
19361940
new <T>(iterable: Iterable<T>): WeakSet<T>;
19371941
prototype: WeakSet<any>;

bin/lib.es6.d.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1880,6 +1880,7 @@ interface Map<K, V> {
18801880
}
18811881

18821882
interface MapConstructor {
1883+
new (): Map<any, any>;
18831884
new <K, V>(): Map<K, V>;
18841885
new <K, V>(iterable: Iterable<[K, V]>): Map<K, V>;
18851886
prototype: Map<any, any>;
@@ -1896,6 +1897,7 @@ interface WeakMap<K, V> {
18961897
}
18971898

18981899
interface WeakMapConstructor {
1900+
new (): WeakMap<any, any>;
18991901
new <K, V>(): WeakMap<K, V>;
19001902
new <K, V>(iterable: Iterable<[K, V]>): WeakMap<K, V>;
19011903
prototype: WeakMap<any, any>;
@@ -1917,6 +1919,7 @@ interface Set<T> {
19171919
}
19181920

19191921
interface SetConstructor {
1922+
new (): Set<any>;
19201923
new <T>(): Set<T>;
19211924
new <T>(iterable: Iterable<T>): Set<T>;
19221925
prototype: Set<any>;
@@ -1932,6 +1935,7 @@ interface WeakSet<T> {
19321935
}
19331936

19341937
interface WeakSetConstructor {
1938+
new (): WeakSet<any>;
19351939
new <T>(): WeakSet<T>;
19361940
new <T>(iterable: Iterable<T>): WeakSet<T>;
19371941
prototype: WeakSet<any>;

bin/tsc.js

Lines changed: 379 additions & 159 deletions
Large diffs are not rendered by default.

bin/tsserver.js

Lines changed: 423 additions & 159 deletions
Large diffs are not rendered by default.

bin/typescript.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ declare module "typescript" {
600600
tag: LeftHandSideExpression;
601601
template: LiteralExpression | TemplateExpression;
602602
}
603-
type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression;
603+
type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator;
604604
interface TypeAssertion extends UnaryExpression {
605605
type: TypeNode;
606606
expression: UnaryExpression;

bin/typescript.js

Lines changed: 564 additions & 170 deletions
Large diffs are not rendered by default.

bin/typescriptServices.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -600,7 +600,7 @@ declare namespace ts {
600600
tag: LeftHandSideExpression;
601601
template: LiteralExpression | TemplateExpression;
602602
}
603-
type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression;
603+
type CallLikeExpression = CallExpression | NewExpression | TaggedTemplateExpression | Decorator;
604604
interface TypeAssertion extends UnaryExpression {
605605
type: TypeNode;
606606
expression: UnaryExpression;

bin/typescriptServices.js

Lines changed: 564 additions & 170 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)