FixedArray experimentation

This commit is contained in:
dcode
2019-03-19 15:43:05 +01:00
parent 74789c9c1e
commit 81039c4167
31 changed files with 762 additions and 855 deletions

View File

@@ -1205,6 +1205,13 @@ declare class Array<T> {
toString(): string;
}
/** Class representing a fixed sequence of values of type `T`. */
declare class FixedArray<T> {
[key: number]: T;
readonly length: i32;
constructor(capacity?: i32);
}
/** Class representing a sequence of characters. */
declare class String {