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

This commit is contained in:
Warren Lu
2021-10-21 11:59:01 -07:00
committed by GitHub
parent 22f37cda85
commit 5725cfeb10
+2 -2
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;