add wasm.fallback module (#369)
This commit is contained in:
parent
dbc64aaa87
commit
680cd32d00
|
|
@ -6,6 +6,14 @@ declare module 'external:emscripten/*.wasm' {
|
||||||
export default wasmPath;
|
export default wasmPath;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
declare module 'external:emscripten/*.wasm.fallback' {
|
||||||
|
/**
|
||||||
|
* This is a wasm fallback url relative from build output chunk.
|
||||||
|
*/
|
||||||
|
const wasmFallbackPath: string;
|
||||||
|
export default wasmFallbackPath;
|
||||||
|
}
|
||||||
|
|
||||||
declare module 'external:emscripten/*.js.mem' {
|
declare module 'external:emscripten/*.js.mem' {
|
||||||
/**
|
/**
|
||||||
* This is a js.mem url relative from build output chunk.
|
* This is a js.mem url relative from build output chunk.
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,10 @@ declare module 'external:emscripten/spine/spine.wasm.js' {
|
||||||
export default SpineWasm;
|
export default SpineWasm;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
declare module 'external:emscripten/spine/spine.wasm.fallback.js' {
|
||||||
|
export default SpineWasm;
|
||||||
|
}
|
||||||
|
|
||||||
// tslint:disable
|
// tslint:disable
|
||||||
declare function SpineWasm (moduleOptions?: any): Promise<void>;
|
declare function SpineWasm (moduleOptions?: any): Promise<void>;
|
||||||
|
|
||||||
|
|
|
||||||
Binary file not shown.
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue