File tree Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Expand file tree Collapse file tree 1 file changed +1
-13
lines changed Original file line number Diff line number Diff line change @@ -186,19 +186,7 @@ interface ObjectConstructor {
186186 * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
187187 * @param o Object on which to lock the attributes.
188188 */
189- freeze < T extends ( ...args : any [ ] ) => any > ( f : T ) : T ;
190-
191- /**
192- * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
193- * @param o Object on which to lock the attributes.
194- */
195- freeze < T extends new ( ...args : any [ ] ) => any > ( c : T ) : T ;
196-
197- /**
198- * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
199- * @param o Object on which to lock the attributes.
200- */
201- freeze < T > ( f : ( ...args : any [ ] ) => T ) : ( ...args : any [ ] ) => T ;
189+ freeze < T extends Function > ( f : T ) : T ;
202190
203191 /**
204192 * Prevents the modification of existing property attributes and values, and prevents the addition of new properties.
You can’t perform that action at this time.
0 commit comments