From ff995a744e5d839eb495acc641f7d0dff6bfe722 Mon Sep 17 00:00:00 2001 From: Simon Garner Date: Sun, 16 Feb 2020 18:11:31 +1300 Subject: [PATCH] fix: Make parentContext optional in ModalOptions type (#1784) * Make parentContext optional in ModalOptions type * Use non-primitive object type for parentContext --- types/modal.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/modal.d.ts b/types/modal.d.ts index b49ccd77b..a5bc6e151 100644 --- a/types/modal.d.ts +++ b/types/modal.d.ts @@ -128,7 +128,7 @@ export interface ModalOptions { */ onOk?: () => any; - parentContext: Object; + parentContext?: object; } export interface ModalConfirm {