re: Why I don't like Typescript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: While I will agree that enforcing types on simple inputs/outputs can be overkill for a project, how grounded is that narrative to the real world wi...
 

I'm not sure what you mean here, sorry.

I agree that most functions are going to work on complex types like objects or records, but they can be inferred just as well as strings or numbers.

That example was only intended to show that you need to add types to functions where the parameters have already been typed, the types themselves don't really matter.

code of conduct - report abuse