diff --git a/src/context/awaitEventEmitterContext.tsx b/src/context/awaitEventEmitterContext.tsx index 771adcc..9de7bd8 100644 --- a/src/context/awaitEventEmitterContext.tsx +++ b/src/context/awaitEventEmitterContext.tsx @@ -1,4 +1,4 @@ -import React, { createContext } from 'react'; +import React, { createContext, PropsWithChildren } from 'react'; import { StoreAwaitEventEmitter } from '../StoreAwaitEventEmitter'; export const AwaitEventEmitterContext = createContext(undefined); @@ -13,6 +13,6 @@ interface StoreAwaitProviderProps { * @param props - The provider props * @returns - The rendered component */ -export const StoreAwaitProvider: React.FC = props => ( +export const StoreAwaitProvider: React.FC> = props => ( {props.children} );