News for hackers. Stuff that matters.
Re:Runtime type information for JavaScript by batmansmk on Sunday September 17, 2017 @02:54PM (#15271094)
The code has to be executed for getting the type information (hence the runtime).

It is less powerful than inferring types, and won't help I think from an IDE perspective, except in the edge case of refining types that are too broad; but it will be based on one execution path.

Re:Runtime type information for JavaScript by jw- on Sunday September 17, 2017 @07:44PM (#15272338)
You could easily use unit tests to get better coverage.