Closed raskyer closed 2 months ago
Can you give a reproduction of this?
I have the same problem here. To reproduce:
tsx
)After investigating, I think this is because some types from @types/prismjs
, @types/html-to-text
, and @types/tailwindcss
are exported in the packages @react-email/code-block
, @react-email/render
and @react-email/tailwind
, but the@types/...
dependencies are defined in the devDependencies
instead of the dependencies
for each of these packages, so they are not available for type-checking on a custom project.
Got a reproduction of something like this after messing around for a bit, do you all have "skipLibCheck": false
or don't have it defined at all?
skipLibCheck
is not defined at all on my side (so defaulting to false
I think)
did you manage to fix it? I'm facing the same issue
Same problema here!
Anyone having this issue, add "skipLibCheck": true
to your ts config and it should be fine. Not an issue on React Email's side at all. Closing as not planned.
Describe the Bug
When I run
npm run tsc
Which package is affected (leave empty if unsure)
No response
Link to the code that reproduces this issue
NA
To Reproduce
Expected Behavior
No error
What's your node version? (if relevant)
^0.0.12