diff --git a/src/PagerView.tsx b/src/PagerView.tsx index 62faa749..79e36d50 100644 --- a/src/PagerView.tsx +++ b/src/PagerView.tsx @@ -225,7 +225,7 @@ class PagerViewInternal extends React.Component { } // Temporary solution. It should be removed once all things get fixed -type PagerViewProps = Omit & { useNext: boolean }; +type PagerViewProps = Omit & { useNext?: boolean }; export const PagerView = React.forwardRef( (props, ref) => {