TS5007: Cannot resolve referenced file:
'/Users/owengalenjones/dev/phaser-test/app/assets/javascripts/phaser.d.ts'.
TS2095: Could not find symbol 'Phaser'.
TS2095: Could not find symbol 'Phaser'. TS2095: Could not find symbol 'Phaser'.
Is there any way to have this reference the phaser.d.ts in vendor/assets/javascripts, or is this impossible?
Everything seems to be working as expected except that I have been unable to use
.d.ts
files in thevendor/assets/javascripts
directory.Example:
file structure
application.js
game.js.ts
This results in these error:
Is there any way to have this reference the
phaser.d.ts
invendor/assets/javascripts
, or is this impossible?Thanks!