From 1bde8d34f7661c2b70d116e8ad19c16d1067e205 Mon Sep 17 00:00:00 2001 From: Pebrian Date: Fri, 15 Aug 2025 16:00:24 +0700 Subject: [PATCH] types(String): add [key: i32]: string to type definition --- std/assembly/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/std/assembly/index.d.ts b/std/assembly/index.d.ts index 9d629ccd10..a604397320 100644 --- a/std/assembly/index.d.ts +++ b/std/assembly/index.d.ts @@ -2129,6 +2129,7 @@ declare class StaticArray { /** Class representing a sequence of characters. */ declare class String { + [key: i32]: string; static fromCharCode(ls: i32, hs?: i32): string; static fromCharCodes(arr: i32[]): string; static fromCodePoint(code: i32): string;