1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-23 07:44:48 -05:00

BREAKING(std/wasi): use record for exports (#7109)

This commit is contained in:
Casper Beyer 2020-08-25 00:12:16 +08:00 committed by GitHub
parent 111a2fbe3e
commit c1d543e10a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 : [];