Skip to content

Commit ff995a7

Browse files
authored
fix: Make parentContext optional in ModalOptions type (#1784)
* Make parentContext optional in ModalOptions type * Use non-primitive object type for parentContext
1 parent f5902ec commit ff995a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

types/modal.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ export interface ModalOptions {
128128
*/
129129
onOk?: () => any;
130130

131-
parentContext: Object;
131+
parentContext?: object;
132132
}
133133

134134
export interface ModalConfirm {

0 commit comments

Comments
 (0)