Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update LKG.
  • Loading branch information
DanielRosenwasser committed May 25, 2019
1 parent 660964b commit ff7f239
Show file tree
Hide file tree
Showing 13 changed files with 3,930 additions and 3,278 deletions.
48 changes: 36 additions & 12 deletions lib/enu/diagnosticMessages.generated.json.lcg
Expand Up @@ -843,6 +843,12 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";All_files_must_be_modules_when_the_isolatedModules_flag_is_provided_1208" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[All files must be modules when the '--isolatedModules' flag is provided.]]></Val>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";All_imports_in_import_declaration_are_unused_6192" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[All imports in import declaration are unused.]]></Val>
Expand Down Expand Up @@ -1419,12 +1425,6 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Cannot_compile_namespaces_when_the_isolatedModules_flag_is_provided_1208" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Cannot compile namespaces when the '--isolatedModules' flag is provided.]]></Val>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Cannot_create_an_instance_of_an_abstract_class_2511" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Cannot create an instance of an abstract class.]]></Val>
Expand Down Expand Up @@ -2445,6 +2445,12 @@
</Str>
<Disp Icon="Str" />
</Item>
<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">
<Str Cat="Text">
<Val><![CDATA[Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'.]]></Val>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Element implicitly has an 'any' type because index expression is not of type 'number'.]]></Val>
Expand Down Expand Up @@ -3003,12 +3009,6 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Found_package_json_at_0_Package_ID_is_1_6190" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Found 'package.json' at '{0}'. Package ID is '{1}'.]]></Val>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'.]]></Val>
Expand Down Expand Up @@ -3933,6 +3933,12 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========]]></Val>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Module_resolution_kind_is_not_specified_using_0_6088" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Module resolution kind is not specified, using '{0}'.]]></Val>
Expand Down Expand Up @@ -3987,6 +3993,12 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[No index signature with a parameter of type '{0}' was found on type '{1}'.]]></Val>
</Str>
<Disp Icon="Str" />
</Item>
<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">
<Str Cat="Text">
<Val><![CDATA[No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'.]]></Val>
Expand Down Expand Up @@ -6459,6 +6471,12 @@
</Str>
<Disp Icon="Str" />
</Item>
<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">
<Str Cat="Text">
<Val><![CDATA[======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========]]></Val>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";Types_have_separate_declarations_of_a_private_property_0_2442" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA[Types have separate declarations of a private property '{0}'.]]></Val>
Expand Down Expand Up @@ -7227,6 +7245,12 @@
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";package_json_had_a_falsy_0_field_6220" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA['package.json' had a falsy '{0}' field.]]></Val>
</Str>
<Disp Icon="Str" />
</Item>
<Item ItemId=";package_json_has_0_field_1_that_references_2_6101" ItemType="0" PsrId="306" Leaf="true">
<Str Cat="Text">
<Val><![CDATA['package.json' has '{0}' field '{1}' that references '{2}'.]]></Val>
Expand Down
3 changes: 2 additions & 1 deletion lib/lib.dom.d.ts
Expand Up @@ -17348,7 +17348,8 @@ interface WorkerEventMap extends AbstractWorkerEventMap {
/** 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. */
interface Worker extends EventTarget, AbstractWorker {
onmessage: ((this: Worker, ev: MessageEvent) => any) | null;
postMessage(message: any, transfer?: Transferable[]): void;
postMessage(message: any, transfer: Transferable[]): void;
postMessage(message: any, options?: PostMessageOptions): void;
terminate(): void;
addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
Expand Down
2 changes: 1 addition & 1 deletion lib/lib.es5.d.ts
Expand Up @@ -533,7 +533,7 @@ interface Boolean {

interface BooleanConstructor {
new(value?: any): Boolean;
<T>(value?: T): value is Exclude<T, false | null | undefined | '' | 0>;
<T>(value?: T): boolean;
readonly prototype: Boolean;
}

Expand Down
3 changes: 2 additions & 1 deletion lib/lib.webworker.d.ts
Expand Up @@ -4251,7 +4251,8 @@ interface WorkerEventMap extends AbstractWorkerEventMap {
/** 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. */
interface Worker extends EventTarget, AbstractWorker {
onmessage: ((this: Worker, ev: MessageEvent) => any) | null;
postMessage(message: any, transfer?: Transferable[]): void;
postMessage(message: any, transfer: Transferable[]): void;
postMessage(message: any, options?: PostMessageOptions): void;
terminate(): void;
addEventListener<K extends keyof WorkerEventMap>(type: K, listener: (this: Worker, ev: WorkerEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
Expand Down

0 comments on commit ff7f239

Please sign in to comment.