Skip to content

Creating Typescript library with React, Styled components and Twin macro. #772

Discussion options

You must be logged in to vote

Run a babel-loader pass first including @babel/preset-typescript, then either use ts-loader afterwards to generate the types or even better, just run a custom tsc command to generate your types.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@NikaKharshiladze
Comment options

Answer selected by ben-rogerson
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants