Trying to wrap a JSX node inside GBAProvider results in the following error:
Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'.
This is due to GBAProvider being typed as FunctionComponent instead of FunctionComponent<{children:ReactNode}> or similar types.
Trying to wrap a JSX node inside GBAProvider results in the following error:
Type '{ children: Element; }' has no properties in common with type 'IntrinsicAttributes'.
This is due to
GBAProvider
being typed asFunctionComponent
instead ofFunctionComponent<{children:ReactNode}>
or similar types.