Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 50bf2b7

Browse files
feat: add [key: i32]: string to String type definition (#2939)
1 parent 9b5b78d commit 50bf2b7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

‎std/assembly/index.d.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2129,6 +2129,7 @@ declare class StaticArray<T> {
21292129

21302130
/** Class representing a sequence of characters. */
21312131
declare class String {
2132+
[key: i32]: string;
21322133
static fromCharCode(ls: i32, hs?: i32): string;
21332134
static fromCharCodes(arr: i32[]): string;
21342135
static fromCodePoint(code: i32): string;

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /