mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-20 10:16:37 +00:00
Field initializers and constructors
This commit is contained in:
1
std/assembly.d.ts
vendored
1
std/assembly.d.ts
vendored
@ -237,6 +237,7 @@ declare class String {
|
||||
concat(other: string): string;
|
||||
endsWith(other: string): bool;
|
||||
indexOf(other: string): u32;
|
||||
includes(other: string): bool;
|
||||
startsWith(other: string): bool;
|
||||
substr(start: u32, length?: u32): string;
|
||||
substring(start: u32, end?: u32): string;
|
||||
|
1
std/portable.d.ts
vendored
1
std/portable.d.ts
vendored
@ -176,6 +176,7 @@ declare class String {
|
||||
readonly length: i32;
|
||||
private constructor();
|
||||
indexOf(subject: string): i32;
|
||||
includes(other: string): bool;
|
||||
lastIndexOf(subject: string): i32;
|
||||
charAt(index: i32): string;
|
||||
charCodeAt(index: i32): i32;
|
||||
|
Reference in New Issue
Block a user