Skip to content

Commit

Permalink
fix: Fix conflicting imports type definition in loader (AssemblyScrip…
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fredriksson committed Oct 16, 2020
1 parent 5b0a7ae commit dad5add
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions NOTICE
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ under the licensing terms detailed in LICENSE:
* Maël Nison <[email protected]>
* Valeria Viana Gusmao <[email protected]>
* Gabor Greif <[email protected]>
* Martin Fredriksson <[email protected]>

Portions of this software are derived from third-party works licensed under
the following terms:
Expand Down
2 changes: 1 addition & 1 deletion lib/loader/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export interface ResultObject {

/** WebAssembly imports with an optional env object and two levels of nesting. */
export type Imports = {
[key: string]: Record<string,unknown>;
[key: string]: Record<string,unknown> | undefined;
env?: {
memory?: WebAssembly.Memory;
table?: WebAssembly.Table;
Expand Down

0 comments on commit dad5add

Please sign in to comment.