Fix typos in es5.d.ts (#46321)

This commit is contained in:
Warren Lu 2021-10-21 14:59:01 -04:00 committed by GitHub
parent 22f37cda85
commit 5725cfeb10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

4
src/lib/es5.d.ts vendored
View file

@ -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;