Skip to content

Commit

Permalink
Update LKG
Browse files Browse the repository at this point in the history
  • Loading branch information
mhegazy committed Jan 10, 2018
1 parent e86b342 commit f08ac66
Show file tree
Hide file tree
Showing 14 changed files with 2,852 additions and 566 deletions.
18 changes: 18 additions & 0 deletions lib/enu/diagnosticMessages.generated.json.lcg
Original file line number Diff line number Diff line change
Expand Up @@ -573,6 +573,12 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Add_async_modifier_to_containing_function_90029" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Add async modifier to containing function]]></Val>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Add_index_signature_for_property_0_90017" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Add index signature for property '{0}']]></Val>
Expand Down Expand Up @@ -1527,6 +1533,12 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Convert_to_ES6_module_95017" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Convert to ES6 module]]></Val>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Convert_to_default_import_95013" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Convert to default import]]></Val>
Expand Down Expand Up @@ -2967,6 +2979,12 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Mapped_object_type_implicitly_has_an_any_template_type_7039" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Mapped object type implicitly has an 'any' template type.]]></Val>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Member_0_implicitly_has_an_1_type_7008" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Member '{0}' implicitly has an '{1}' type.]]></Val>
Expand Down
2 changes: 1 addition & 1 deletion lib/lib.es2015.collection.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ interface ReadonlySet<T> {
readonly size: number;
}

interface WeakSet<T> {
interface WeakSet<T extends object> {
add(value: T): this;
delete(value: T): boolean;
has(value: T): boolean;
Expand Down
2 changes: 1 addition & 1 deletion lib/lib.es2015.iterable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ interface SetConstructor {
new <T>(iterable: Iterable<T>): Set<T>;
}

interface WeakSet<T> { }
interface WeakSet<T extends object> { }

interface WeakSetConstructor {
new <T extends object>(iterable: Iterable<T>): WeakSet<T>;
Expand Down
2 changes: 1 addition & 1 deletion lib/lib.es2015.symbol.wellknown.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ interface Set<T> {
readonly [Symbol.toStringTag]: "Set";
}

interface WeakSet<T> {
interface WeakSet<T extends object> {
readonly [Symbol.toStringTag]: "WeakSet";
}

Expand Down
6 changes: 3 additions & 3 deletions lib/lib.es6.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4704,7 +4704,7 @@ interface ReadonlySet<T> {
readonly size: number;
}

interface WeakSet<T> {
interface WeakSet<T extends object> {
add(value: T): this;
delete(value: T): boolean;
has(value: T): boolean;
Expand Down Expand Up @@ -4954,7 +4954,7 @@ interface SetConstructor {
new <T>(iterable: Iterable<T>): Set<T>;
}

interface WeakSet<T> { }
interface WeakSet<T extends object> { }

interface WeakSetConstructor {
new <T extends object>(iterable: Iterable<T>): WeakSet<T>;
Expand Down Expand Up @@ -5649,7 +5649,7 @@ interface Set<T> {
readonly [Symbol.toStringTag]: "Set";
}

interface WeakSet<T> {
interface WeakSet<T extends object> {
readonly [Symbol.toStringTag]: "WeakSet";
}

Expand Down
186 changes: 97 additions & 89 deletions lib/tsc.js

Large diffs are not rendered by default.

739 changes: 627 additions & 112 deletions lib/tsserver.js

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion lib/tsserverlibrary.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,7 @@ declare namespace ts {
kind: SyntaxKind.ArrowFunction;
equalsGreaterThanToken: EqualsGreaterThanToken;
body: ConciseBody;
name: never;
}
interface LiteralLikeNode extends Node {
text: string;
Expand Down Expand Up @@ -1362,6 +1363,7 @@ declare namespace ts {
interface ExportDeclaration extends DeclarationStatement {
kind: SyntaxKind.ExportDeclaration;
parent?: SourceFile | ModuleBlock;
/** Will not be assigned in the case of `export * from "foo";` */
exportClause?: NamedExports;
/** If this is not a StringLiteral it will be a grammar error. */
moduleSpecifier?: Expression;
Expand Down Expand Up @@ -3288,7 +3290,7 @@ declare namespace ts {
declare namespace ts {
function createNodeArray<T extends Node>(elements?: ReadonlyArray<T>, hasTrailingComma?: boolean): NodeArray<T>;
/** If a node is passed, creates a string literal whose source text is read from a source node during emit. */
function createLiteral(value: string | StringLiteral | NumericLiteral | Identifier): StringLiteral;
function createLiteral(value: string | StringLiteral | NoSubstitutionTemplateLiteral | NumericLiteral | Identifier): StringLiteral;
function createLiteral(value: number): NumericLiteral;
function createLiteral(value: boolean): BooleanLiteral;
function createLiteral(value: string | number | boolean): PrimaryExpression;
Expand Down
Loading

0 comments on commit f08ac66

Please sign in to comment.