Y
Hacker News
new
|
ask
|
show
|
jobs
by
hot_gril
869 days ago
A config validator, which can be written in TS, would.
2 comments
mrudolph22
869 days ago
In theory, yes. But I doubt that we’ll see a TS IDE plugin that underlines violated constraints with red squiggles anytime soon. :-)
link
hot_gril
868 days ago
There are IDEs that auto-run unit tests and highlight exceptions thrown in the main or test code, which wouldn't be far off.
link
rockwotj
869 days ago
Agreed, runtime checks can be implemented in typescript - that’s the beauty of it
link