Closed niklasfink closed 7 years ago
I managed to get the desired behaviour by changing
import Phaser from 'phaser'
to
import 'phaser'
in the files that include that import:
For the record, I don't require a /// <reference
line, like you have.
The demo still runs fine with these changes. Is there any benefit to specifying the name Phaser
when performing the import?
With Phaser 2.x the library is not a module itself. We must wait for the release 3 for a real module import. Maybe this is your issues
Hi, I can't get VS Code IntelliSense (autocompletion) to work properly with your setup. I thought this should be enable automatically, out of the box? How can I make it work? 🙂