diff --git a/react-modal/react-modal.d.ts b/react-modal/react-modal.d.ts index 5171045c61..e7c89cc2ef 100644 --- a/react-modal/react-modal.d.ts +++ b/react-modal/react-modal.d.ts @@ -9,10 +9,10 @@ declare module "react-modal" { interface ReactModal { isOpen: boolean; style?: { - content: { + content?: { [key: string]: any; }, - overlay: { + overlay?: { [key: string]: any; } },