DEV Community

Discussion on: TypeScript and why you should type your JS project

Collapse
manelgonzalezops profile image
ManiloxGT • Edited on

That fuctions could have been written by a child.
What about if you instead of providing such a ridiculous examples, shows us an example of how would you type a component generated from a render props that takes a function props that expects a ref as a paremeter?? Would typescript still be so fancy?