Jan 2, 2022
The only reason to introduce "some kind of types" is the fact VSCode will pick it as tips when calling methods. My choice is JSDoc, plus, it enforces good documentation which than can be generate from the code.
ps. Pertii replied to my comment to and dropped a link to a good article about it.