I don't think there is value in type hints that don't do anything. Especially because JS is sent over the wire. We already have a compile time type checking system called Typescript.
If you want JavaScript to enforce types in the browser that is a larger discussion.