Describe the bug
Using usePusher in a React 18 TypeScript project throws the error:
Property 'children' does not exist on type 'IntrinsicAttributes & PusherProviderProps'.
This is because React 18 Requires children?: React.ReactNode to be defined in the component props which is missing here.
Describe the bug
Using usePusher in a React 18 TypeScript project throws the error:
This is because React 18 Requires
children?: React.ReactNodeto be defined in the component props which is missing here.