Asterisk imports parsing; Pussyfooting around stdlib

This commit is contained in:
dcodeIO
2017-12-23 00:48:54 +01:00
parent a0ec684e1c
commit ad298c7bea
15 changed files with 309 additions and 109 deletions

4
std/assembly.d.ts vendored
View File

@ -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;