Meanwhile in lisp world no one really cries about type errors. I wonder why
The issue with JS is weak typing. Also programmers mostly using batch style programming makes it more frustrating though the browser dev tools are decent.
Dynamic typing is not an issue. Gradual typing can be added later on to an language. JS just needs to add syntax support for type hints so you don't need to rely on JSDOC. The weak typing is a serious design flaw and can't be fixed in a backward compatible way. Maybe with an explicit opt in where you declare types strong is the beginning of your file but that would make JS engines more complicated as they would need to support both and I don't see it realistically happening but one can dream.