Why do you use Typescript with automated tests?

Ayobami Ogundiran - Apr 22 '23 - - Dev Community

Whenever I use Typescript, I don't think I need to test types of data but output value.

When I use only JavaScript, I do think, I need to test data types and output value.

If I have to still test for data types, why then do I use Typescript?

By tests, I mean automated tests?

What do you think?

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .