you had to run jspm install from the command line
-
-
Replying to @WebStormIDE
Helped a bit :-) The ‘Class to import’ autocomplete intention imports the unaliased version though?pic.twitter.com/tom3jKxWH4
1 reply 0 retweets 0 likes -
Replying to @Supermoos
will be added in WebStorm 2016.2.2: https://youtrack.jetbrains.com/issue/WEB-22001
1 reply 0 retweets 0 likes -
Replying to @WebStormIDE
Arh, okay. Anyway to import non typescript libraries with JSPM?
1 reply 0 retweets 0 likes -
-
Replying to @WebStormIDE
Example: importing TweenMax from ‘npm gsap’ it works with JSPM, but the TypeScript compiler complains it can’t find the module.
1 reply 0 retweets 0 likes -
Replying to @Supermoos
TS compiler probably needs a .d.ts for the library you use
1 reply 0 retweets 0 likes -
Replying to @WebStormIDE
Cool, makes sense. Would require that to be added to the NPM package I guess.
1 reply 0 retweets 0 likes -
Replying to @Supermoos
or like that https://blogs.msdn.microsoft.com/typescript/2016/06/15/the-future-of-declaration-files/ …
1 reply 0 retweets 0 likes -
Replying to @WebStormIDE
Tried that, but doesn’t seem like tsc recognize s the typings file when it lives in it’s own node_modules folder outside ofJSPM
1 reply 0 retweets 0 likes
sorry, I guess this question should now go to Stackoverflow or else – we are not yet that experienced with jspm/ts :(
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.