mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-05-18 16:34:36 -05:00
Add function
This commit is contained in:
2
src/lib/es5.d.ts
vendored
2
src/lib/es5.d.ts
vendored
@@ -186,7 +186,7 @@ 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.
|
||||
*/
|
||||
freeze<T, U>(f: (...args: T[]) => U): (...args: T[]) => U;
|
||||
freeze<T>(f: (...args: any[]) => T): (...args: any[]) => T;
|
||||
|
||||
/**
|
||||
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
|
||||
|
||||
Reference in New Issue
Block a user