Open shidoxo opened 1 month ago
I'm seeing the same same issue. The reason is because there is a react dependency so for those not using react it's causing typing errors.
https://github.com/resend/resend-node/blob/c69c13f582314011281ba2b667a9645978f43839/package.json#L45C5-L45C36 this should not be a required dependency as many aren't using react.
Running npm i --save-dev @types/react
fixes the issue but we shouldn't have to install react typings if we're not using react.
Why do i need React at all in my NodeJS server? If there's React, why is declaration file not provided?