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:
5454* Jairus Tanaka <jairus.v.tanaka@outlook.com>
5555* CountBleck <Mr.YouKnowWhoIAm@protonmail.com>
5656* Abdul Rauf <abdulraufmujahid@gmail.com>
57+ * Bach Le <bach@bullno1.com>
5758
5859Portions of this software are derived from third-party works licensed under
5960the following terms:
Original file line number Diff line number Diff line change @@ -2281,6 +2281,10 @@ interface TypedPropertyDescriptor<T> {
22812281 set ?( value : T ) : void ;
22822282}
22832283
2284+ type Constructor =
2285+ ( new ( ...args : any [ ] ) => unknown )
2286+ | ( abstract new ( ...args : any [ ] ) => unknown ) ;
2287+
22842288/** Annotates a method as a binary operator overload for the specified `token`. */
22852289declare function operator ( token :
22862290 "[]" | "[]=" | "{}" | "{}=" | "==" | "!=" | ">" | "<" | "<=" | ">=" |
@@ -2319,10 +2323,10 @@ declare namespace operator {
23192323declare function global ( ...args : any [ ] ) : any ;
23202324
23212325/** Annotates a class as being unmanaged with limited capabilities. */
2322- declare function unmanaged ( constructor : Function ) : void ;
2326+ declare function unmanaged ( constructor : Constructor ) : void ;
23232327
23242328/** Annotates a class as being final / non-derivable. */
2325- declare function final ( constructor : Function ) : void ;
2329+ declare function final ( constructor : Constructor ) : void ;
23262330
23272331/** Annotates a method, function or constant global as always inlined. */
23282332declare function inline ( ...args : any [ ] ) : any ;
You can’t perform that action at this time.
0 commit comments