Skip to content

Commit 260117b

Browse files
Update to TypeScript 2.6.2.
1 parent 6da82b1 commit 260117b

18 files changed

+10929
-9162
lines changed

tsserver/enu/diagnosticMessages.generated.json.lcg

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1923,6 +1923,12 @@
19231923
</Str>
19241924
<Disp Icon="Str" />
19251925
</Item>
1926+
<Item ItemId=";Expected_corresponding_closing_tag_for_JSX_fragment_17015" ItemType="0" PsrId="306" Leaf="true">
1927+
<Str Cat="Text">
1928+
<Val><![CDATA[Expected corresponding closing tag for JSX fragment.]]></Val>
1929+
</Str>
1930+
<Disp Icon="Str" />
1931+
</Item>
19261932
<Item ItemId=";Expected_type_of_0_field_in_package_json_to_be_string_got_1_6105" ItemType="0" PsrId="306" Leaf="true">
19271933
<Str Cat="Text">
19281934
<Val><![CDATA[Expected type of '{0}' field in 'package.json' to be 'string', got '{1}'.]]></Val>
@@ -2727,6 +2733,18 @@
27272733
</Str>
27282734
<Disp Icon="Str" />
27292735
</Item>
2736+
<Item ItemId=";JSX_fragment_has_no_corresponding_closing_tag_17014" ItemType="0" PsrId="306" Leaf="true">
2737+
<Str Cat="Text">
2738+
<Val><![CDATA[JSX fragment has no corresponding closing tag.]]></Val>
2739+
</Str>
2740+
<Disp Icon="Str" />
2741+
</Item>
2742+
<Item ItemId=";JSX_fragment_is_not_supported_when_using_jsxFactory_17016" ItemType="0" PsrId="306" Leaf="true">
2743+
<Str Cat="Text">
2744+
<Val><![CDATA[JSX fragment is not supported when using --jsxFactory]]></Val>
2745+
</Str>
2746+
<Disp Icon="Str" />
2747+
</Item>
27302748
<Item ItemId=";JSX_spread_child_must_be_an_array_type_2609" ItemType="0" PsrId="306" Leaf="true">
27312749
<Str Cat="Text">
27322750
<Val><![CDATA[JSX spread child must be an array type.]]></Val>

tsserver/lib.d.ts

Lines changed: 779 additions & 776 deletions
Large diffs are not rendered by default.

tsserver/lib.dom.d.ts

Lines changed: 779 additions & 776 deletions
Large diffs are not rendered by default.

tsserver/lib.es2016.full.d.ts

Lines changed: 779 additions & 776 deletions
Large diffs are not rendered by default.

tsserver/lib.es2017.full.d.ts

Lines changed: 779 additions & 776 deletions
Large diffs are not rendered by default.

tsserver/lib.es6.d.ts

Lines changed: 779 additions & 776 deletions
Large diffs are not rendered by default.

tsserver/lib.esnext.full.d.ts

Lines changed: 779 additions & 776 deletions
Large diffs are not rendered by default.

tsserver/lib.webworker.d.ts

Lines changed: 91 additions & 87 deletions
Large diffs are not rendered by default.

tsserver/protocol.d.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,8 @@ declare namespace ts.server.protocol {
427427
*/
428428
errorCodes?: number[];
429429
}
430-
interface ApplyCodeActionCommandRequestArgs extends FileRequestArgs {
430+
interface ApplyCodeActionCommandRequestArgs {
431+
/** May also be an array of commands. */
431432
command: {};
432433
}
433434
/**
@@ -1207,6 +1208,11 @@ declare namespace ts.server.protocol {
12071208
* Optional prefix to apply to possible completions.
12081209
*/
12091210
prefix?: string;
1211+
/**
1212+
* If enabled, TypeScript will search through all external modules' exports and add them to the completions list.
1213+
* This affects lone identifier completions but not completions on the right hand side of `obj.`.
1214+
*/
1215+
includeExternalModuleExports: boolean;
12101216
}
12111217
/**
12121218
* Completions request; value of command field is "completions".

0 commit comments

Comments
 (0)