Skip to content

Commit 9705b71

Browse files
Remove (hopefully) unnecessary overload.
1 parent 241b3f2 commit 9705b71

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/lib/es5.d.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,6 @@ interface ObjectConstructor {
203203
*/
204204
freeze<T extends Function>(f: T): T;
205205

206-
/**
207-
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
208-
* @param o Object on which to lock the attributes.
209-
*/
210-
freeze<const T extends {[idx: string]: U | null | undefined | object}, U extends string | bigint | number | boolean | symbol>(o: T): Readonly<T>;
211-
212206
/**
213207
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
214208
* @param o Object on which to lock the attributes.

0 commit comments

Comments
 (0)