How to write JavaScript in PHPStorm by defining the types of variables in TypeScript?

  • 0
    Hello, I'm writing in PHPStorm I used typing from TS to JSDOC before declaring variables and functions. Some features from TS cannot be implemented in JSDOC.

    Is it possible to continue writing code in JS in * .js files and somehow include just .ts files with type definitions?
    JavaScript Anonymous, Aug 22, 2020

  • 0 Answers
Your Answer
To place the code, please use CodePen or similar tool. Thanks you!