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> {
1414
1515/** Utility mixed in by the loader. */
1616interface ASUtil {
17+ memory ?: WebAssembly . Memory ;
18+ table ?: WebAssembly . Table ;
19+
1720 /** Explicit start function, if requested. */
1821 __start ( ) : void ;
1922 /** Allocates a new string in the module's memory and returns a reference (pointer) to it. */
@@ -41,9 +44,9 @@ interface ASUtil {
4144 /** Reads the values of Uint32Array from the module's memory. */
4245 __getUint32Array ( ptr : number ) : Uint32Array ;
4346 /** Reads the values of Int32Array from the module's memory. */
44- __getInt64Array ( ptr : number ) : BigInt64Array ;
47+ __getInt64Array ? ( ptr : number ) : BigInt64Array ;
4548 /** Reads the values of Uint32Array from the module's memory. */
46- __getUint64Array ( ptr : number ) : BigUint64Array ;
49+ __getUint64Array ? ( ptr : number ) : BigUint64Array ;
4750 /** Reads the values of Float32Array from the module's memory. */
4851 __getFloat32Array ( ptr : number ) : Float32Array ;
4952 /** Reads the values of Float64Array from the module's memory. */
You can’t perform that action at this time.
0 commit comments