File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,9 @@ interface ImportsObject extends Record<string, any> {
14
14
15
15
/** Utility mixed in by the loader. */
16
16
interface ASUtil {
17
+ memory ?: WebAssembly . Memory ;
18
+ table ?: WebAssembly . Table ;
19
+
17
20
/** Explicit start function, if requested. */
18
21
__start ( ) : void ;
19
22
/** Allocates a new string in the module's memory and returns a reference (pointer) to it. */
@@ -41,9 +44,9 @@ interface ASUtil {
41
44
/** Reads the values of Uint32Array from the module's memory. */
42
45
__getUint32Array ( ptr : number ) : Uint32Array ;
43
46
/** Reads the values of Int32Array from the module's memory. */
44
- __getInt64Array ( ptr : number ) : BigInt64Array ;
47
+ __getInt64Array ? ( ptr : number ) : BigInt64Array ;
45
48
/** Reads the values of Uint32Array from the module's memory. */
46
- __getUint64Array ( ptr : number ) : BigUint64Array ;
49
+ __getUint64Array ? ( ptr : number ) : BigUint64Array ;
47
50
/** Reads the values of Float32Array from the module's memory. */
48
51
__getFloat32Array ( ptr : number ) : Float32Array ;
49
52
/** Reads the values of Float64Array from the module's memory. */
You can’t perform that action at this time.
0 commit comments