Skip to content

Commit ff7f239

Browse files
Update LKG.
1 parent 660964b commit ff7f239

13 files changed

+3930
-3278
lines changed

lib/enu/diagnosticMessages.generated.json.lcg

Lines changed: 36 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,12 @@
843843
</Str>
844844
<Disp Icon="Str" />
845845
</Item>
846+
<Item ItemId=";All_files_must_be_modules_when_the_isolatedModules_flag_is_provided_1208" ItemType="0" PsrId="306" Leaf="true">
847+
<Str Cat="Text">
848+
<Val><![CDATA[All files must be modules when the '--isolatedModules' flag is provided.]]></Val>
849+
</Str>
850+
<Disp Icon="Str" />
851+
</Item>
846852
<Item ItemId=";All_imports_in_import_declaration_are_unused_6192" ItemType="0" PsrId="306" Leaf="true">
847853
<Str Cat="Text">
848854
<Val><![CDATA[All imports in import declaration are unused.]]></Val>
@@ -1419,12 +1425,6 @@
14191425
</Str>
14201426
<Disp Icon="Str" />
14211427
</Item>
1422-
<Item ItemId=";Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided_1208" ItemType="0" PsrId="306" Leaf="true">
1423-
<Str Cat="Text">
1424-
<Val><![CDATA[Cannot compile namespaces when the '--isolatedModules' flag is provided.]]></Val>
1425-
</Str>
1426-
<Disp Icon="Str" />
1427-
</Item>
14281428
<Item ItemId=";Cannot_create_an_instance_of_an_abstract_class_2511" ItemType="0" PsrId="306" Leaf="true">
14291429
<Str Cat="Text">
14301430
<Val><![CDATA[Cannot create an instance of an abstract class.]]></Val>
@@ -2445,6 +2445,12 @@
24452445
</Str>
24462446
<Disp Icon="Str" />
24472447
</Item>
2448+
<Item ItemId=";Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053" ItemType="0" PsrId="306" Leaf="true">
2449+
<Str Cat="Text">
2450+
<Val><![CDATA[Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'.]]></Val>
2451+
</Str>
2452+
<Disp Icon="Str" />
2453+
</Item>
24482454
<Item ItemId=";Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015" ItemType="0" PsrId="306" Leaf="true">
24492455
<Str Cat="Text">
24502456
<Val><![CDATA[Element implicitly has an 'any' type because index expression is not of type 'number'.]]></Val>
@@ -3003,12 +3009,6 @@
30033009
</Str>
30043010
<Disp Icon="Str" />
30053011
</Item>
3006-
<Item ItemId=";Found_package_json_at_0_Package_ID_is_1_6190" ItemType="0" PsrId="306" Leaf="true">
3007-
<Str Cat="Text">
3008-
<Val><![CDATA[Found 'package.json' at '{0}'. Package ID is '{1}'.]]></Val>
3009-
</Str>
3010-
<Disp Icon="Str" />
3011-
</Item>
30123012
<Item ItemId=";Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250" ItemType="0" PsrId="306" Leaf="true">
30133013
<Str Cat="Text">
30143014
<Val><![CDATA[Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'.]]></Val>
@@ -3933,6 +3933,12 @@
39333933
</Str>
39343934
<Disp Icon="Str" />
39353935
</Item>
3936+
<Item ItemId=";Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218" ItemType="0" PsrId="306" Leaf="true">
3937+
<Str Cat="Text">
3938+
<Val><![CDATA[======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========]]></Val>
3939+
</Str>
3940+
<Disp Icon="Str" />
3941+
</Item>
39363942
<Item ItemId=";Module_resolution_kind_is_not_specified_using_0_6088" ItemType="0" PsrId="306" Leaf="true">
39373943
<Str Cat="Text">
39383944
<Val><![CDATA[Module resolution kind is not specified, using '{0}'.]]></Val>
@@ -3987,6 +3993,12 @@
39873993
</Str>
39883994
<Disp Icon="Str" />
39893995
</Item>
3996+
<Item ItemId=";No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054" ItemType="0" PsrId="306" Leaf="true">
3997+
<Str Cat="Text">
3998+
<Val><![CDATA[No index signature with a parameter of type '{0}' was found on type '{1}'.]]></Val>
3999+
</Str>
4000+
<Disp Icon="Str" />
4001+
</Item>
39904002
<Item ItemId=";No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003" ItemType="0" PsrId="306" Leaf="true">
39914003
<Str Cat="Text">
39924004
<Val><![CDATA[No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'.]]></Val>
@@ -6459,6 +6471,12 @@
64596471
</Str>
64606472
<Disp Icon="Str" />
64616473
</Item>
6474+
<Item ItemId=";Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219" ItemType="0" PsrId="306" Leaf="true">
6475+
<Str Cat="Text">
6476+
<Val><![CDATA[======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========]]></Val>
6477+
</Str>
6478+
<Disp Icon="Str" />
6479+
</Item>
64626480
<Item ItemId=";Types_have_separate_declarations_of_a_private_property_0_2442" ItemType="0" PsrId="306" Leaf="true">
64636481
<Str Cat="Text">
64646482
<Val><![CDATA[Types have separate declarations of a private property '{0}'.]]></Val>
@@ -7227,6 +7245,12 @@
72277245
</Str>
72287246
<Disp Icon="Str" />
72297247
</Item>
7248+
<Item ItemId=";package_json_had_a_falsy_0_field_6220" ItemType="0" PsrId="306" Leaf="true">
7249+
<Str Cat="Text">
7250+
<Val><![CDATA['package.json' had a falsy '{0}' field.]]></Val>
7251+
</Str>
7252+
<Disp Icon="Str" />
7253+
</Item>
72307254
<Item ItemId=";package_json_has_0_field_1_that_references_2_6101" ItemType="0" PsrId="306" Leaf="true">
72317255
<Str Cat="Text">
72327256
<Val><![CDATA['package.json' has '{0}' field '{1}' that references '{2}'.]]></Val>

lib/lib.dom.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17348,7 +17348,8 @@ interface WorkerEventMap extends AbstractWorkerEventMap {
1734817348
/** An interface of the Web Workers API represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */
1734917349
interface Worker extends EventTarget, AbstractWorker {
1735017350
onmessage: ((this: Worker, ev: MessageEvent) => any) | null;
17351-
postMessage(message: any, transfer?: Transferable[]): void;
17351+
postMessage(message: any, transfer: Transferable[]): void;
17352+
postMessage(message: any, options?: PostMessageOptions): void;
1735217353
terminate(): void;
1735317354
addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
1735417355
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;

lib/lib.es5.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ interface Boolean {
533533

534534
interface BooleanConstructor {
535535
new(value?: any): Boolean;
536-
<T>(value?: T): value is Exclude<T, false | null | undefined | '' | 0>;
536+
<T>(value?: T): boolean;
537537
readonly prototype: Boolean;
538538
}
539539

lib/lib.webworker.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4251,7 +4251,8 @@ interface WorkerEventMap extends AbstractWorkerEventMap {
42514251
/** An interface of the Web Workers API represents a background task that can be easily created and can send messages back to its creator. Creating a worker is as simple as calling the Worker() constructor and specifying a script to be run in the worker thread. */
42524252
interface Worker extends EventTarget, AbstractWorker {
42534253
onmessage: ((this: Worker, ev: MessageEvent) => any) | null;
4254-
postMessage(message: any, transfer?: Transferable[]): void;
4254+
postMessage(message: any, transfer: Transferable[]): void;
4255+
postMessage(message: any, options?: PostMessageOptions): void;
42554256
terminate(): void;
42564257
addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
42574258
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;

0 commit comments

Comments
 (0)