webtretech / nestjs-mailer-react-adapter

📨 Build and send emails in Nest framework using React.js
https://www.npmjs.com/package/@webtre/nestjs-mailer-react-adapter
MIT License
35 stars 3 forks source link

error passing component to render function #50

Closed weenow-devops closed 5 months ago

weenow-devops commented 5 months ago

Hello, Im getting an error passing Component to render function.

image

Argument of type 'boolean' is not assignable to parameter of type 'ReactElement<any, string | JSXElementConstructor<any>>'.ts(2345)

https://github.com/webtretech/nestjs-mailer-react-adapter/blob/f968913154607530e00f5f93062a826c637c5caa/src/react.adapter.tsx#L37C10-L38C27

kodjunkie commented 5 months ago

Apparently, you’re the only one experiencing this issue @weenow-devops. If you could send code sample of your setup, it would help with debugging.

weenow-devops commented 5 months ago

it is a lint bug, sorry...