fix: Make parentContext optional in ModalOptions type (#1784)

* Make parentContext optional in ModalOptions type

* Use non-primitive object type for parentContext
pull/1799/head
Simon Garner 2020-02-16 18:11:31 +13:00 committed by GitHub
parent f5902ec954
commit ff995a744e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
types/modal.d.ts vendored
View File

@ -128,7 +128,7 @@ export interface ModalOptions {
*/
onOk?: () => any;
parentContext: Object;
parentContext?: object;
}
export interface ModalConfirm {