Skip to content

Commit f95209b

Browse files
authored
Add index signature to ArrayLike (#1668)
1 parent 368fda0 commit f95209b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

std/assembly/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,8 +1431,8 @@ declare class DataView {
14311431
}
14321432

14331433
interface ArrayLike<T> {
1434+
[key: number]: T;
14341435
length: i32;
1435-
// [key: number]: T;
14361436
}
14371437

14381438
/** Interface for a typed view on an array buffer. */

0 commit comments

Comments
 (0)