DEV Community

Discussion on: Should we explicitly type the output of all functions (TypeScript) ?

Collapse
 
subztep profile image
Andras Serfozo

I don't, I write the minimum required type definitions and let VSCode do its job.

Collapse
 
yanns1 profile image
Yann

Sure, in fact, I think I'll go on this way. I talked with a mod on Discord that pointed out that the compiler is usually right. So if there's a problem it must be because of me.