diff --git a/lib/loader/index.d.ts b/lib/loader/index.d.ts index a2a05a4a..8d898cbd 100644 --- a/lib/loader/index.d.ts +++ b/lib/loader/index.d.ts @@ -1,8 +1,7 @@ import "@types/webassembly-js-api"; /** WebAssembly imports with two levels of nesting. */ -interface ImportsObject { - [key: string]: {}, +interface ImportsObject extends Record { env?: { memory?: WebAssembly.Memory, table?: WebAssembly.Table,