File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ under the licensing terms detailed in LICENSE:
54
54
* Jairus Tanaka <jairus.v.tanaka@outlook.com>
55
55
* CountBleck <Mr.YouKnowWhoIAm@protonmail.com>
56
56
* Abdul Rauf <abdulraufmujahid@gmail.com>
57
+ * Bach Le <bach@bullno1.com>
57
58
58
59
Portions of this software are derived from third-party works licensed under
59
60
the following terms:
Original file line number Diff line number Diff line change @@ -2281,6 +2281,10 @@ interface TypedPropertyDescriptor<T> {
2281
2281
set ?( value : T ) : void ;
2282
2282
}
2283
2283
2284
+ type Constructor =
2285
+ ( new ( ...args : any [ ] ) => unknown )
2286
+ | ( abstract new ( ...args : any [ ] ) => unknown ) ;
2287
+
2284
2288
/** Annotates a method as a binary operator overload for the specified `token`. */
2285
2289
declare function operator ( token :
2286
2290
"[]" | "[]=" | "{}" | "{}=" | "==" | "!=" | ">" | "<" | "<=" | ">=" |
@@ -2319,10 +2323,10 @@ declare namespace operator {
2319
2323
declare function global ( ...args : any [ ] ) : any ;
2320
2324
2321
2325
/** Annotates a class as being unmanaged with limited capabilities. */
2322
- declare function unmanaged ( constructor : Function ) : void ;
2326
+ declare function unmanaged ( constructor : Constructor ) : void ;
2323
2327
2324
2328
/** Annotates a class as being final / non-derivable. */
2325
- declare function final ( constructor : Function ) : void ;
2329
+ declare function final ( constructor : Constructor ) : void ;
2326
2330
2327
2331
/** Annotates a method, function or constant global as always inlined. */
2328
2332
declare function inline ( ...args : any [ ] ) : any ;
You can’t perform that action at this time.
0 commit comments