DEV Community

Discussion on: The Trouble with TypeScript

Collapse
 
jwp profile image
John Peters

That is until you add a few extra levels on to, and you start coming across the inconsistencies, or the places where types can't be inferred.

What inconsistencies?

Types can never be inferred where there's no definition. But how difficult is it to define 'any'? Pretty simple to do.