Fix typos in es5.d.ts (#46321)
This commit is contained in:
parent
22f37cda85
commit
5725cfeb10
4
src/lib/es5.d.ts
vendored
4
src/lib/es5.d.ts
vendored
|
@ -196,13 +196,13 @@ interface ObjectConstructor {
|
|||
|
||||
/**
|
||||
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
||||
* @param o Object on which to lock the attributes.
|
||||
* @param a Object on which to lock the attributes.
|
||||
*/
|
||||
freeze<T>(a: T[]): readonly T[];
|
||||
|
||||
/**
|
||||
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
||||
* @param o Object on which to lock the attributes.
|
||||
* @param f Object on which to lock the attributes.
|
||||
*/
|
||||
freeze<T extends Function>(f: T): T;
|
||||
|
||||
|
|
Loading…
Reference in a new issue