From a564c820fb199d84f23e47ded3ee76efcd2e2935 Mon Sep 17 00:00:00 2001 From: dcode Date: Sat, 25 May 2019 14:56:09 +0200 Subject: [PATCH] use Record as proposed in #598 --- lib/loader/index.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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,