Hey, the NPM package version seems to be missing the types even though the GitHub repo has them.
All I did to fix it locally was adding:
"types": "types/main-prod.d.ts",
to package.json, and then copied over the entire contents of the types directory from the repo into node_modules/phaser-box2d/types.
Hey, the NPM package version seems to be missing the types even though the GitHub repo has them.
All I did to fix it locally was adding:
to
package.json, and then copied over the entire contents of thetypesdirectory from the repo intonode_modules/phaser-box2d/types.