3 ms·
Yes, but not to validate your syntax and any references to undefined stuff (except on the boundary where you might interface to external - not in Typescript wri
by sebazzz 7y ago
Yes, but not to validate your syntax and any references to undefined stuff (except on the boundary where you might interface to external - not in Typescript written - libraries). Still, tests are meant for logic testing - which is something the Typescript compiler won't help you with (or any compiler probably).
- asib 7y ago> ...which is something the Typescript compiler won't help you with (or any compiler probably) Not so - there're languages out there in which you're able to encode your business logic within your program's types, at least to a certain extent, e.g. dependently typed languages. This can definitely replace some of your logic tests.