mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-24 04:01:46 +00:00
Fix implementation of Array#splice (#347)
This commit is contained in:
4
std/assembly/index.d.ts
vendored
4
std/assembly/index.d.ts
vendored
@ -572,8 +572,8 @@ declare class Array<T> {
|
||||
shift(): T;
|
||||
some(callbackfn: (element: T, index: i32, array?: Array<T>) => bool): bool;
|
||||
unshift(element: T): i32;
|
||||
slice(from: i32, to?: i32): T[];
|
||||
splice(start: i32, deleteCount?: i32): void;
|
||||
slice(from: i32, to?: i32): Array<T>;
|
||||
splice(start: i32, deleteCount?: i32): Array<T>;
|
||||
sort(comparator?: (a: T, b: T) => i32): this;
|
||||
join(separator?: string): string;
|
||||
reverse(): T[];
|
||||
|
Reference in New Issue
Block a user