warning with longStackTraces
I'm getting a warning importing longStackTraces but i believe i have my preferences set correctly. this is on webstorm 10.0.4 on a mac and screenshots show the error and config. any suggestions are appreciated.
Attachment(s):
Screen Shot 2015-11-01 at 9.30.51 AM.png
Screen Shot 2015-11-01 at 9.28.31 AM.png
请先登录再写评论。
Completion for promise functions doesn't work because of a tricky way this module is defined. As a workaround I'd suggest using 'bluebird' typescript stubs:

Can you give a link to something explaining how to use bluebird typescript types?
I also ask, because I'm seeing similar issues with
-should
-all my model classes imported from Sails.
sorry, don't understand what explanation you are looking for... Webstorm is just using TypeScript definitions to give intellisence for JavaScript.See http://blog.jetbrains.com/webstorm/2014/07/how-webstorm-works-completion-for-javascript-libraries/
Well can you describe how I do this from your earlier comment? "As a workaround I'd suggest using 'bluebird' typescript stubs: "
Download the stubs per instructions in the blog post: in Settings/languages & Frameworks/JavaScript/Libraries, press Download, select 'Typescript community stubs' in the combobox, then choose bluebird' from the stubs list. What is unclear?