Overload 1 of 2, '(props: PersistGateProps | Readonly<PersistGateProps>): PersistGate', gave the following error.
Type '{ children: Element; loading: null; persistor: any; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<PersistGate> & Readonly<PersistGateProps> & Readonly<...>'.
Property 'persistor' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<PersistGate> & Readonly<PersistGateProps> & Readonly<...>'. Did you mean 'persister'?
Overload 2 of 2, '(props: PersistGateProps, context: any): PersistGate', gave the following error.
Type '{ children: Element; loading: null; persistor: any; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<PersistGate> & Readonly<PersistGateProps> & Readonly<...>'.
Property 'persistor' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<PersistGate> & Readonly<PersistGateProps> & Readonly<...>'. Did you mean 'persister'?
While using PersistGate component with typescript the following error shows with prop persistor (redux-persist version: ^6.0.0)