Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ under the licensing terms detailed in LICENSE:
* Jairus Tanaka <jairus.v.tanaka@outlook.com>
* CountBleck <Mr.YouKnowWhoIAm@protonmail.com>
* Abdul Rauf <abdulraufmujahid@gmail.com>
* Bach Le <bach@bullno1.com>

Portions of this software are derived from third-party works licensed under
the following terms:
Expand Down
8 changes: 6 additions & 2 deletions std/assembly/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2281,6 +2281,10 @@ interface TypedPropertyDescriptor<T> {
set?(value: T): void;
}

type Constructor =
(new (...args: any[]) => unknown)
| (abstract new (...args: any[]) => unknown);

/** Annotates a method as a binary operator overload for the specified `token`. */
declare function operator(token:
"[]" | "[]=" | "{}" | "{}=" | "==" | "!=" | ">" | "<" | "<=" | ">=" |
Expand Down Expand Up @@ -2319,10 +2323,10 @@ declare namespace operator {
declare function global(...args: any[]): any;

/** Annotates a class as being unmanaged with limited capabilities. */
declare function unmanaged(constructor: Function): void;
declare function unmanaged(constructor: Constructor): void;

/** Annotates a class as being final / non-derivable. */
declare function final(constructor: Function): void;
declare function final(constructor: Constructor): void;

/** Annotates a method, function or constant global as always inlined. */
declare function inline(...args: any[]): any;
Expand Down