I'd say you can also use JSDoc... But it really comes down to the level of type safety you want. Since I prefer complete integration, I tend to prefer TypeScript. But TypeScript can be difficult at times, forcing you to write your own typings. If you're willing to do that, I believe TypeScript is a good path.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I'd say you can also use JSDoc... But it really comes down to the level of type safety you want. Since I prefer complete integration, I tend to prefer TypeScript. But TypeScript can be difficult at times, forcing you to write your own typings. If you're willing to do that, I believe TypeScript is a good path.