Skip to content

Commit 9ff24b6

Browse files
authored
Update LKG (microsoft#39173)
1 parent fe33e61 commit 9ff24b6

33 files changed

+349771
-327313
lines changed

lib/cs/diagnosticMessages.generated.json

+26-8
Large diffs are not rendered by default.

lib/de/diagnosticMessages.generated.json

+26-5
Large diffs are not rendered by default.

lib/es/diagnosticMessages.generated.json

+28-7
Large diffs are not rendered by default.

lib/fr/diagnosticMessages.generated.json

+28-7
Large diffs are not rendered by default.

lib/it/diagnosticMessages.generated.json

+27-6
Large diffs are not rendered by default.

lib/ja/diagnosticMessages.generated.json

+29-8
Large diffs are not rendered by default.

lib/ko/diagnosticMessages.generated.json

+29-8
Large diffs are not rendered by default.

lib/lib.dom.d.ts

+78-38
Large diffs are not rendered by default.

lib/lib.es2015.core.d.ts

+14-14
Original file line numberDiff line numberDiff line change
@@ -454,48 +454,48 @@ interface String {
454454
startsWith(searchString: string, position?: number): boolean;
455455

456456
/**
457-
* Returns an <a> HTML anchor element and sets the name attribute to the text value
457+
* Returns an `<a>` HTML anchor element and sets the name attribute to the text value
458458
* @param name
459459
*/
460460
anchor(name: string): string;
461461

462-
/** Returns a <big> HTML element */
462+
/** Returns a `<big>` HTML element */
463463
big(): string;
464464

465-
/** Returns a <blink> HTML element */
465+
/** Returns a `<blink>` HTML element */
466466
blink(): string;
467467

468-
/** Returns a <b> HTML element */
468+
/** Returns a `<b>` HTML element */
469469
bold(): string;
470470

471-
/** Returns a <tt> HTML element */
471+
/** Returns a `<tt>` HTML element */
472472
fixed(): string;
473473

474-
/** Returns a <font> HTML element and sets the color attribute value */
474+
/** Returns a `<font>` HTML element and sets the color attribute value */
475475
fontcolor(color: string): string;
476476

477-
/** Returns a <font> HTML element and sets the size attribute value */
477+
/** Returns a `<font>` HTML element and sets the size attribute value */
478478
fontsize(size: number): string;
479479

480-
/** Returns a <font> HTML element and sets the size attribute value */
480+
/** Returns a `<font>` HTML element and sets the size attribute value */
481481
fontsize(size: string): string;
482482

483-
/** Returns an <i> HTML element */
483+
/** Returns an `<i>` HTML element */
484484
italics(): string;
485485

486-
/** Returns an <a> HTML element and sets the href attribute value */
486+
/** Returns an `<a>` HTML element and sets the href attribute value */
487487
link(url: string): string;
488488

489-
/** Returns a <small> HTML element */
489+
/** Returns a `<small>` HTML element */
490490
small(): string;
491491

492-
/** Returns a <strike> HTML element */
492+
/** Returns a `<strike>` HTML element */
493493
strike(): string;
494494

495-
/** Returns a <sub> HTML element */
495+
/** Returns a `<sub>` HTML element */
496496
sub(): string;
497497

498-
/** Returns a <sup> HTML element */
498+
/** Returns a `<sup>` HTML element */
499499
sup(): string;
500500
}
501501

lib/lib.es2017.sharedmemory.d.ts

+4-1
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,11 @@ interface Atomics {
122122
/**
123123
* Wakes up sleeping agents that are waiting on the given index of the array, returning the
124124
* number of agents that were awoken.
125+
* @param typedArray A shared Int32Array.
126+
* @param index The position in the typedArray to wake up on.
127+
* @param count The number of sleeping agents to notify. Defaults to +Infinity.
125128
*/
126-
notify(typedArray: Int32Array, index: number, count: number): number;
129+
notify(typedArray: Int32Array, index: number, count?: number): number;
127130

128131
/**
129132
* Stores the bitwise XOR of a value with the value at the given position in the array,

lib/lib.es2020.bigint.d.ts

+24-24
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@ interface BigInt64Array {
8989

9090
/**
9191
* Determines whether all the members of an array satisfy the specified test.
92-
* @param callbackfn A function that accepts up to three arguments. The every method calls
93-
* the callbackfn function for each element in the array until the callbackfn returns false,
92+
* @param predicate A function that accepts up to three arguments. The every method calls
93+
* the predicate function for each element in the array until the predicate returns false,
9494
* or until the end of the array.
95-
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
95+
* @param thisArg An object to which the this keyword can refer in the predicate function.
9696
* If thisArg is omitted, undefined is used as the this value.
9797
*/
98-
every(callbackfn: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;
98+
every(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;
9999

100100
/**
101101
* Returns the this object after filling the section identified by start and end with value
@@ -109,12 +109,12 @@ interface BigInt64Array {
109109

110110
/**
111111
* Returns the elements of an array that meet the condition specified in a callback function.
112-
* @param callbackfn A function that accepts up to three arguments. The filter method calls
113-
* the callbackfn function one time for each element in the array.
114-
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
112+
* @param predicate A function that accepts up to three arguments. The filter method calls
113+
* the predicate function one time for each element in the array.
114+
* @param thisArg An object to which the this keyword can refer in the predicate function.
115115
* If thisArg is omitted, undefined is used as the this value.
116116
*/
117-
filter(callbackfn: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): BigInt64Array;
117+
filter(predicate: (value: bigint, index: number, array: BigInt64Array) => any, thisArg?: any): BigInt64Array;
118118

119119
/**
120120
* Returns the value of the first element in the array where predicate is true, and undefined
@@ -260,13 +260,13 @@ interface BigInt64Array {
260260

261261
/**
262262
* Determines whether the specified callback function returns true for any element of an array.
263-
* @param callbackfn A function that accepts up to three arguments. The some method calls the
264-
* callbackfn function for each element in the array until the callbackfn returns true, or until
263+
* @param predicate A function that accepts up to three arguments. The some method calls the
264+
* predicate function for each element in the array until the predicate returns true, or until
265265
* the end of the array.
266-
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
266+
* @param thisArg An object to which the this keyword can refer in the predicate function.
267267
* If thisArg is omitted, undefined is used as the this value.
268268
*/
269-
some(callbackfn: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;
269+
some(predicate: (value: bigint, index: number, array: BigInt64Array) => boolean, thisArg?: any): boolean;
270270

271271
/**
272272
* Sorts the array.
@@ -361,13 +361,13 @@ interface BigUint64Array {
361361

362362
/**
363363
* Determines whether all the members of an array satisfy the specified test.
364-
* @param callbackfn A function that accepts up to three arguments. The every method calls
365-
* the callbackfn function for each element in the array until the callbackfn returns false,
364+
* @param predicate A function that accepts up to three arguments. The every method calls
365+
* the predicate function for each element in the array until the predicate returns false,
366366
* or until the end of the array.
367-
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
367+
* @param thisArg An object to which the this keyword can refer in the predicate function.
368368
* If thisArg is omitted, undefined is used as the this value.
369369
*/
370-
every(callbackfn: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;
370+
every(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;
371371

372372
/**
373373
* Returns the this object after filling the section identified by start and end with value
@@ -381,12 +381,12 @@ interface BigUint64Array {
381381

382382
/**
383383
* Returns the elements of an array that meet the condition specified in a callback function.
384-
* @param callbackfn A function that accepts up to three arguments. The filter method calls
385-
* the callbackfn function one time for each element in the array.
386-
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
384+
* @param predicate A function that accepts up to three arguments. The filter method calls
385+
* the predicate function one time for each element in the array.
386+
* @param thisArg An object to which the this keyword can refer in the predicate function.
387387
* If thisArg is omitted, undefined is used as the this value.
388388
*/
389-
filter(callbackfn: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): BigUint64Array;
389+
filter(predicate: (value: bigint, index: number, array: BigUint64Array) => any, thisArg?: any): BigUint64Array;
390390

391391
/**
392392
* Returns the value of the first element in the array where predicate is true, and undefined
@@ -532,13 +532,13 @@ interface BigUint64Array {
532532

533533
/**
534534
* Determines whether the specified callback function returns true for any element of an array.
535-
* @param callbackfn A function that accepts up to three arguments. The some method calls the
536-
* callbackfn function for each element in the array until the callbackfn returns true, or until
535+
* @param predicate A function that accepts up to three arguments. The some method calls the
536+
* predicate function for each element in the array until the predicate returns true, or until
537537
* the end of the array.
538-
* @param thisArg An object to which the this keyword can refer in the callbackfn function.
538+
* @param thisArg An object to which the this keyword can refer in the predicate function.
539539
* If thisArg is omitted, undefined is used as the this value.
540540
*/
541-
some(callbackfn: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;
541+
some(predicate: (value: bigint, index: number, array: BigUint64Array) => boolean, thisArg?: any): boolean;
542542

543543
/**
544544
* Sorts the array.

lib/lib.es2020.d.ts

+1
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ and limitations under the License.
2323
/// <reference lib="es2020.promise" />
2424
/// <reference lib="es2020.string" />
2525
/// <reference lib="es2020.symbol.wellknown" />
26+
/// <reference lib="es2020.intl" />

0 commit comments

Comments
 (0)