As I can see, in the docs, It’s said:
"typeRoots": [
"./node_modules/phaser/types"
],
"types": [
"Phaser"
]
but this doesn’t work on ubuntu which results to Phaser never resolved at all. The reason for Typeroots is that I want to use it in every file without importing it. So that’s why I do it, but on ubuntu, this doesn’t work and I think I know why. Because in the types property, we have Phaser
with capital P. because ubuntu is case sensitive, it won’t find this node_modules/Phaser
. somehow typeRoots
doesn’t work (i filed a bug, but taking so much time). In every file, I have Phaser
with capital P. Is there any other way to solve this on ubuntu?