mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-19 09:51:33 +00:00
Initial instance methods and field layout; More cleanup
This commit is contained in:
4
std/assembly.d.ts
vendored
4
std/assembly.d.ts
vendored
@ -272,10 +272,10 @@ interface RegExp {}
|
||||
// Internal decorators (not yet implemented)
|
||||
|
||||
/** Annotates an element being part of the global namespace. */
|
||||
declare function global(): any;
|
||||
declare function global(target: Function): any;
|
||||
|
||||
/** Annotates a method being an operator overload. */
|
||||
declare function operator(token: string): any;
|
||||
|
||||
declare function struct(): any;
|
||||
declare function struct(target: Function): any;
|
||||
declare function size(size: usize): any;
|
||||
|
Reference in New Issue
Block a user