mirror of
https://github.com/fluencelabs/assemblyscript
synced 2025-04-26 07:22:21 +00:00
use Record as proposed in #598
This commit is contained in:
parent
d32391055d
commit
a564c820fb
3
lib/loader/index.d.ts
vendored
3
lib/loader/index.d.ts
vendored
@ -1,8 +1,7 @@
|
||||
import "@types/webassembly-js-api";
|
||||
|
||||
/** WebAssembly imports with two levels of nesting. */
|
||||
interface ImportsObject {
|
||||
[key: string]: {},
|
||||
interface ImportsObject extends Record<string, any> {
|
||||
env?: {
|
||||
memory?: WebAssembly.Memory,
|
||||
table?: WebAssembly.Table,
|
||||
|
Loading…
x
Reference in New Issue
Block a user