Hacker News new | ask | show | jobs
by xsmasher 1708 days ago
Once your environment is configured and you're writing good types, the only errors you see are when you do something that violated your type rules - like calling myRecord.names gives you an error "Property 'names' does not exist on type 'PlayerRecord'. Did you mean 'name?'"

I don't know if the issues you're having is bad setup, or type system abuse. Try a typescript forum or chat group?

I'll admit that, coming from C++, I'm 100% bought in on the usefulness of type systems; but I can't imagine refactoring or making major changes in a project written in untyped JS.