Skip to content

Commit 1bde8d3

Browse files
committed
types(String): add [key: i32]: string to type definition
1 parent 6cd638e commit 1bde8d3

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)