Re:Goodbye TypeScript, hello native typing for JavaScript
by xsmasher on Thursday January 05, 2023 @11:40PM
(#34271042)
Currently we run "tsc" to "compile" the code and tell us about type errors. "This method passes as string to something that expects a number" etc.
In a world where JS has type notation, we'd need a similar command that could analyze the code without running it.
I don't think I follow what you mean here, can you clarify?