diff --git a/packages/tour/withTour.tsx b/packages/tour/withTour.tsx index caad8071..f3a66440 100644 --- a/packages/tour/withTour.tsx +++ b/packages/tour/withTour.tsx @@ -1,8 +1,9 @@ import React from 'react' import { useTour } from './Context' +import { TourProps } from '.' export default function withTour

(WrappedComponent: React.ComponentType

) { - const ComponentWithTour = (props: P) => { + const ComponentWithTour = (props: Omit) => { const tourProps = useTour() return }