mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-23 03:31:44 +00:00
Binary expression operator overloads for +/==; Check allocation flow in ternary expressions; Cache empty array buffers; Sealed decorator for non-derivable internals
This commit is contained in:
3
std/assembly.d.ts
vendored
3
std/assembly.d.ts
vendored
@ -354,5 +354,8 @@ declare function operator(token: string): (target: any, propertyKey: string, des
|
||||
/** Annotates a class as being unmanaged with limited capabilities. */
|
||||
declare function unmanaged(target: Function): any;
|
||||
|
||||
/** Annotates a class as being sealed / non-derivable. */
|
||||
declare function sealed(target: Function): any;
|
||||
|
||||
/** Annotates a class field with an explicit offset. */
|
||||
declare function offset(offset: usize): any;
|
||||
|
Reference in New Issue
Block a user