mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-02-10 15:25:54 -06:00
Remove (hopefully) unnecessary overload.
This commit is contained in:
parent
241b3f2fe2
commit
9705b7186c
6
src/lib/es5.d.ts
vendored
6
src/lib/es5.d.ts
vendored
@ -203,12 +203,6 @@ interface ObjectConstructor {
|
||||
*/
|
||||
freeze<T extends Function>(f: T): 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.
|
||||
*/
|
||||
freeze<const T extends {[idx: string]: U | null | undefined | object}, U extends string | bigint | number | boolean | symbol>(o: 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.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user