You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the rapier3d-compat build the raw.d.ts file contains export * from "../pkg3d/rapier_wasm3d"; which does not exist in the distributed package. In the rapier3d build, this file is export * from "./rapier_wasm3d"; which would work just fine in the compat build.
This line is added for the rapier3d build here but I don't see a corresponding line for the compat build.
This results in typescript errors when building projects against the compat build such as:
node_modules/@dimforge/rapier3d-compat/dynamics/ccd_solver.d.ts:1:10 - error TS2305: Module '"../raw"' has no exported member 'RawCCDSolver'.
1 import { RawCCDSolver } from "../raw";
The text was updated successfully, but these errors were encountered:
Hi! Thank you for pointing this out.
I made a release 0.7.3 of rapier-compat with a manual fix. Could you please try it?
I haven’t pushed the fix here on github yet because I need to figure out #43 first.
In the rapier3d-compat build the
raw.d.ts
file containsexport * from "../pkg3d/rapier_wasm3d";
which does not exist in the distributed package. In therapier3d
build, this file isexport * from "./rapier_wasm3d";
which would work just fine in the compat build.This line is added for the
rapier3d
build here but I don't see a corresponding line for the compat build.This results in typescript errors when building projects against the compat build such as:
The text was updated successfully, but these errors were encountered: