DEV Community

Discussion on: Using Custom Types in JavaScript Docs

4lch4 profile image
Devin W. Leaman Author

Do you have any recommendations to learn TypeScript? I mentioned it above but I'm not too fond of having to learn a new language just for types info but if it's as helpful as it seems I may as well.

kepta profile image
Kushan Joshi

As everyone said, typescript is a superset of JavaScript. So any valid JavaScript is already typescript, you add the types superpower at your leisure.