File tree 1 file changed +2
-2
lines changed 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -207,13 +207,13 @@ interface ObjectConstructor {
207
207
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
208
208
* @param o Object on which to lock the attributes.
209
209
*/
210
- freeze < T extends { [ idx : string ] : U | null | undefined | object } , U extends string | bigint | number | boolean | symbol > ( o : T ) : Readonly < T > ;
210
+ freeze < const T extends { [ idx : string ] : U | null | undefined | object } , U extends string | bigint | number | boolean | symbol > ( o : T ) : Readonly < T > ;
211
211
212
212
/**
213
213
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
214
214
* @param o Object on which to lock the attributes.
215
215
*/
216
- freeze < T > ( o : T ) : Readonly < T > ;
216
+ freeze < const T > ( o : T ) : Readonly < T > ;
217
217
218
218
/**
219
219
* Prevents the addition of new properties to an object.
You can’t perform that action at this time.
0 commit comments