diff --git a/typings/react-popper.d.ts b/typings/react-popper.d.ts index a8176dd..49e9002 100644 --- a/typings/react-popper.d.ts +++ b/typings/react-popper.d.ts @@ -77,7 +77,7 @@ export function usePopper( ): { styles: { [key: string]: React.CSSProperties }; attributes: { [key: string]: { [key: string]: string } }; - state: PopperJS.State; + state: PopperJS.State | null; update: PopperJS.Instance['update'] | null; forceUpdate: PopperJS.Instance['forceUpdate'] | null; };