mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-06-17 17:01:37 +00:00
Program elements and resolve infrastructure; Stdlib ideas; Restructuring
This commit is contained in:
11
std/string.d.ts
vendored
Normal file
11
std/string.d.ts
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
/// <reference path="../assembly.d.ts" />
|
||||
|
||||
declare class String {
|
||||
readonly length: i32;
|
||||
constructor(length: i32);
|
||||
static fromCharCode(c1: i32, c2?: i32);
|
||||
static equals(a: string, b: string): bool;
|
||||
static concat(a: string, b: string): string;
|
||||
charCodeAt(index: i32): u16;
|
||||
concat(other: string): string;
|
||||
}
|
Reference in New Issue
Block a user