@phpstorm https://twitter.com/umaar/status/1045655069478334464 … is this something we can expect getting to phpstorm/webstorm as well? :)
This works in PhpStorm and WebStorm with TypeScript 3.1:https://twitter.com/WebStormIDE/status/1047496823567540224 …
-
-
Yeah stumbled across this tweet a few minutes later, would be great to get this to JS files as well if possible
-
You can use TypeScript to check your JavaScript files, in this case the intention will also work in the .js files. You need to install TS 3.1 in your project and add a tsconfig.json file with the allowJS: true option: https://www.typescriptlang.org/docs/handbook/tsconfig-json.html …
- 1 more reply
New conversation -
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.
Works very well in both JavaScript and TypeScript files. .catch() is also correctly converted to try/catch