summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCasper Beyer <caspervonb@pm.me>2020-08-25 00:12:16 +0800
committerGitHub <noreply@github.com>2020-08-24 18:12:16 +0200
commitc1d543e10a85347c1c219202b10ab2e5cccf942c (patch)
tree0988f04265a9101990c59c7d4694bf0323511e73
parent111a2fbe3e6b386c2e39d394f95f989a6c1f48a0 (diff)
BREAKING(std/wasi): use record for exports (#7109)
-rw-r--r--std/wasi/snapshot_preview1.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/std/wasi/snapshot_preview1.ts b/std/wasi/snapshot_preview1.ts
index a89957373..0e32e3a2b 100644
--- a/std/wasi/snapshot_preview1.ts
+++ b/std/wasi/snapshot_preview1.ts
@@ -292,8 +292,7 @@ export default class Module {
// deno-lint-ignore no-explicit-any
fds: any[];
- // deno-lint-ignore no-explicit-any
- exports: { [key: string]: any };
+ exports: Record<string, Function>;
constructor(options: ModuleOptions) {
this.args = options.args ? options.args : [];