diff options
author | Casper Beyer <caspervonb@pm.me> | 2020-08-25 00:12:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-24 18:12:16 +0200 |
commit | c1d543e10a85347c1c219202b10ab2e5cccf942c (patch) | |
tree | 0988f04265a9101990c59c7d4694bf0323511e73 /std | |
parent | 111a2fbe3e6b386c2e39d394f95f989a6c1f48a0 (diff) |
BREAKING(std/wasi): use record for exports (#7109)
Diffstat (limited to 'std')
-rw-r--r-- | std/wasi/snapshot_preview1.ts | 3 |
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 : []; |