Skip to content

Commit f0ce14b

Browse files
committed
Update LKG
1 parent 6e2db6c commit f0ce14b

15 files changed

+9479
-10954
lines changed

lib/lib.d.ts

Lines changed: 1700 additions & 2600 deletions
Large diffs are not rendered by default.

lib/lib.dom.d.ts

Lines changed: 1687 additions & 2599 deletions
Large diffs are not rendered by default.

lib/lib.es5.d.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,18 @@ interface ObjectConstructor {
196196
*/
197197
seal<T>(o: T): T;
198198

199+
/**
200+
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
201+
* @param o Object on which to lock the attributes.
202+
*/
203+
freeze<T>(a: T[]): ReadonlyArray<T>;
204+
205+
/**
206+
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
207+
* @param o Object on which to lock the attributes.
208+
*/
209+
freeze<T extends Function>(f: T): T;
210+
199211
/**
200212
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
201213
* @param o Object on which to lock the attributes.
@@ -1387,7 +1399,7 @@ type Pick<T, K extends keyof T> = {
13871399
/**
13881400
* Construct a type with a set of properties K of type T
13891401
*/
1390-
type Record<K extends string | number, T> = {
1402+
type Record<K extends string, T> = {
13911403
[P in K]: T;
13921404
}
13931405

0 commit comments

Comments
 (0)