Keep switching between WebStorm and VS Code for TypeScript development. It seems that VS Code is winning here. #typescript
@yfain sorry, misunderstood that you're working in ts and not js file. Than the reply on SO is correct.
-
-
@WebStormIDE The reply in SO is correct, but my point is that VS Code was properly completing the code without the need to use import. -
@yfain I cannot reproduce the behavior in vscode. The func require() has return type 'any'. Are you sure that you use the same *.d.ts file? - 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.