mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-23 19:51:47 +00:00
Add Array#join and Array#toString + dtoa (#275)
This commit is contained in:
6
std/portable/index.d.ts
vendored
6
std/portable/index.d.ts
vendored
@ -265,10 +265,10 @@ declare class Array<T> {
|
||||
unshift(element: T): i32;
|
||||
slice(from?: i32, to?: i32): T[];
|
||||
splice(start: i32, deleteCount?: i32): void;
|
||||
reverse(): T[];
|
||||
sort(comparator?: (a: T, b: T) => i32): this;
|
||||
|
||||
join(delim: string): string;
|
||||
join(separator?: string): string;
|
||||
reverse(): T[];
|
||||
toString(): string;
|
||||
}
|
||||
|
||||
declare class Uint8Array extends Array<u8> {}
|
||||
|
Reference in New Issue
Block a user