Skip to content

Commit dad5add

Browse files
author
Martin Fredriksson
authored
fix: Fix conflicting imports type definition in loader (#1508)
1 parent 5b0a7ae commit dad5add

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NOTICE

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ under the licensing terms detailed in LICENSE:
2828
* Maël Nison <nison.mael@gmail.com>
2929
* Valeria Viana Gusmao <valeria.viana.gusmao@gmail.com>
3030
* Gabor Greif <ggreif@gmail.com>
31+
* Martin Fredriksson <martin.fredriksson@vikinganalytics.se>
3132

3233
Portions of this software are derived from third-party works licensed under
3334
the following terms:

lib/loader/index.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export interface ResultObject {
88

99
/** WebAssembly imports with an optional env object and two levels of nesting. */
1010
export type Imports = {
11-
[key: string]: Record<string,unknown>;
11+
[key: string]: Record<string,unknown> | undefined;
1212
env?: {
1313
memory?: WebAssembly.Memory;
1414
table?: WebAssembly.Table;

0 commit comments

Comments
 (0)