Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
998ab5a93c | ||
|
|
bc4dcfbabe |
Vendored
+1
-9
@@ -1,15 +1,7 @@
|
||||
declare module 'external:emscripten/*.wasm' {
|
||||
/**
|
||||
* This is a wasm url relative from build output chunk.
|
||||
* This is a url relative from build output chunk.
|
||||
*/
|
||||
const wasmPath: string;
|
||||
export default wasmPath;
|
||||
}
|
||||
|
||||
declare module 'external:emscripten/*.js.mem' {
|
||||
/**
|
||||
* This is a js.mem url relative from build output chunk.
|
||||
*/
|
||||
const jsMemPath: string;
|
||||
export default jsMemPath;
|
||||
}
|
||||
File diff suppressed because one or more lines are too long
Vendored
+4
-1
@@ -2,7 +2,7 @@ declare module 'external:emscripten/spine/spine.asm.js' {
|
||||
export default SpineWasm;
|
||||
}
|
||||
|
||||
declare module 'external:emscripten/spine/spine.wasm.js' {
|
||||
declare module 'external:emscripten/spine/spine.js' {
|
||||
export default SpineWasm;
|
||||
}
|
||||
|
||||
@@ -10,7 +10,10 @@ declare module 'external:emscripten/spine/spine.wasm.js' {
|
||||
declare function SpineWasm (moduleOptions?: any): Promise<void>;
|
||||
|
||||
declare namespace SpineWasm {
|
||||
type ptr = number;
|
||||
interface instance {
|
||||
spine: any;
|
||||
memory: any;
|
||||
spineWasmInit(): void;
|
||||
spineWasmDestroy(): void;
|
||||
}
|
||||
|
||||
File diff suppressed because one or more lines are too long
Binary file not shown.
Binary file not shown.
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user