fix bullet.d.ts export

This commit is contained in:
yiwenxue 2023-05-18 11:04:49 +08:00
parent 9c845c2593
commit 980e4f4ec7
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,7 @@
// tslint:disable
declare function instantiate(env: any, buffer: ArrayBuffer): Bullet.instance;
declare module 'external:emscripten/bullet/bullet.asm.js' {
function factory (env: any, wasmMemory: ArrayBuffer): Bullet.instance;
export default factory;
}
declare namespace Bullet {
type ptr = number;