mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-22 11:11:43 +00:00
rtti & refactoring
This commit is contained in:
10
std/assembly/index.d.ts
vendored
10
std/assembly/index.d.ts
vendored
@ -1485,13 +1485,6 @@ interface TypedPropertyDescriptor<T> {
|
||||
set?(value: T): void;
|
||||
}
|
||||
|
||||
/** Annotates an element as a program global. */
|
||||
declare function global(
|
||||
target: any,
|
||||
propertyKey: string,
|
||||
descriptor: TypedPropertyDescriptor<any>
|
||||
): TypedPropertyDescriptor<any> | void;
|
||||
|
||||
/** Annotates a method as a binary operator overload for the specified `token`. */
|
||||
declare function operator(token:
|
||||
"[]" | "[]=" | "{}" | "{}=" | "==" | "!=" | ">" | "<" | "<=" | ">=" |
|
||||
@ -1526,6 +1519,9 @@ declare namespace operator {
|
||||
) => TypedPropertyDescriptor<any> | void;
|
||||
}
|
||||
|
||||
/** Annotates an element as a program global. */
|
||||
declare function global(...args: any[]): any;
|
||||
|
||||
/** Annotates a class as being unmanaged with limited capabilities. */
|
||||
declare function unmanaged(constructor: Function): void;
|
||||
|
||||
|
Reference in New Issue
Block a user