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
Over the last months, there have been significant changes to the TypeScript @types/react package by @eps1lon in order to accommodate the different return types of components (one of the reasons being to avoid the problems with async React components)
Using "jsxImportSource": "@emotion/react" along with the new @types/react@18.2.8 package causes failures that look like this:
'Title' cannot be used as a JSX component.
Its return type 'ReactNode' is not a valid JSX element.
Type 'undefined' is not assignable to type 'Element | null'.