How do I create a TypeScript type definition for a stateless React component?
I’m trying create type definitions for an existing suite of stateless React components, so I can generate documentation automagically and to improve intellisense in my team’s tooling.