Lukas Böcker
Lukas Böcker
Since it's specific to Git I guess you could use a pre-commit hook instead.
You're supposed to use variants and then extract the prop type with `React.ComponentPropsWithoutRef` or ` React.ComponentPropsWithRef` if needed. The reason your component is typed `any` is because [types/twin.d.ts](https://github.com/ben-rogerson/twin.examples/blob/88df17fdeb3267da5c5563352955d834d6a52008/next-stitches-typescript/types/twin.d.ts) from the...
I'm trying to figure this one out as well.