Closed mitch1995 closed 4 months ago
Latest commit: e86df7dc767ed9bb374657c6455b538db898eede
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Currently when using moduleResolutions such as
node16
,nodenext
orbundler
withdeclaration: true
there are quite a few typescript errors present, as shown belowI created a minimum reproduction repo to demonstrate this here.
Steps to reproduce:
npx create-react-app my-app --template typescript
@compiled/react
(0.17.0)tsconfig.json
to havemoduleResolution: Bundler
anddelcaration: true
@compiled/react
likestyled
andcreateStrictAPI
and you will experience type errors