mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-13 15:01:28 +00:00
Implement String#slice (#404)
This commit is contained in:
1
std/portable/index.d.ts
vendored
1
std/portable/index.d.ts
vendored
@ -427,6 +427,7 @@ declare class String {
|
||||
padEnd(targetLength: i32, padString?: string): string;
|
||||
replace(search: string, replacement: string): string;
|
||||
repeat(count?: i32): string;
|
||||
slice(beginIndex: i32, endIndex?: i32): string;
|
||||
split(separator?: string, limit?: i32): string[];
|
||||
toString(): string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user