File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -164,19 +164,19 @@ interface ObjectConstructor {
164
164
* Prevents the modification of attributes of existing properties, and prevents the addition of new properties.
165
165
* @param o Object on which to lock the attributes.
166
166
*/
167
- seal ( o : any ) : any ;
167
+ seal < T > ( o : T ) : T ;
168
168
169
169
/**
170
170
* Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
171
171
* @param o Object on which to lock the attributes.
172
172
*/
173
- freeze ( o : any ) : any ;
173
+ freeze < T > ( o : T ) : T ;
174
174
175
175
/**
176
176
* Prevents the addition of new properties to an object.
177
177
* @param o Object to make non-extensible.
178
178
*/
179
- preventExtensions ( o : any ) : any ;
179
+ preventExtensions < T > ( o : T ) : T ;
180
180
181
181
/**
182
182
* Returns true if existing property attributes cannot be modified in an object and new properties cannot be added to the object.
You can’t perform that action at this time.
0 commit comments