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 5 years ago committed by GitHub
parent f5902ec954
commit ff995a744e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
types/modal.d.ts vendored

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

Loading…
Cancel
Save