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
@WastedFreeTime This is probably irrelevant to you by now, but in case anyone else runs into this, a way I found to resolve this is to add phaser's type definitions to the typeRoots in your tsconfig.json:
Hello,
i tried using the phaser-matter-collision-plugin with Typescript and Angular but got the following error:
My current project versions are:
Thats how i imported the plugin:
import PhaserMatterCollisionPlugin from 'phaser-matter-collision-plugin';
Three files throw this error:
valid-collision-object.d.ts, utils.d.ts and collision-types.d.ts
Is there something that i am missing? I looked at the Phaser module itself and there its .matter reference is just working fine.
Can someone help me?
Thanks for any help and ideas!
The text was updated successfully, but these errors were encountered: