You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It passed the test code, but TwImportComponent and TwPropComponent make a type error.
'TwImportComponent' cannot be used as a JSX component.
Its type 'TwComponent<"div">' is not a valid JSX element type.
Type 'TwComponent<"div">' is not assignable to type '(props: any, deprecatedLegacyContext?: any) => ReactNode'.
Type 'Element' is not assignable to type 'ReactNode'.
Property 'children' is missing in type 'Element' but required in type 'ReactPortal'.ts(2786)
Is there a solution? Thank you for reading my issue : )
The text was updated successfully, but these errors were encountered:
I'm using jest-testing-typescript from twin.macro example, but I've been facing a problem.
It passed the test code, but TwImportComponent and TwPropComponent make a type error.
Is there a solution? Thank you for reading my issue : )
The text was updated successfully, but these errors were encountered: