https://github.com/photonstorm/phaser-ce
npm i @develephant/types-phaser --save
This module is for TypeScript. Add the following to the tsconfig.json
:
{
"typeRoots": [
"node_modules/@develephant/types-phaser"
]
}
If you are using VSCode, restart the application.