mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-26 05:01:52 +00:00
Asterisk imports parsing; Pussyfooting around stdlib
This commit is contained in:
4
std/assembly.d.ts
vendored
4
std/assembly.d.ts
vendored
@ -178,6 +178,7 @@ declare function parseFloat(str: string): f64;
|
||||
|
||||
/** Class representing a sequence of values of type `T`. */
|
||||
declare class Array<T> {
|
||||
[key: number]: T;
|
||||
|
||||
/** Current maximum capacity of the array. */
|
||||
readonly capacity: i32;
|
||||
@ -275,3 +276,6 @@ declare function global(): any;
|
||||
|
||||
/** Annotates a method being an operator overload. */
|
||||
declare function operator(token: string): any;
|
||||
|
||||
declare function struct(): any;
|
||||
declare function size(size: usize): any;
|
||||
|
Reference in New Issue
Block a user