Field initializers and constructors

This commit is contained in:
dcodeIO
2018-01-28 15:13:31 +01:00
parent b1e7b75ad7
commit 1b0ed61072
10 changed files with 516 additions and 162 deletions

1
std/assembly.d.ts vendored
View File

@ -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
View File

@ -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;