mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-13 06:20:23 -06:00
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…
x
Reference in New Issue
Block a user