Skip to content

Commit

Permalink
fix: types merge error
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnIsOnTheRoad committed Dec 11, 2019
1 parent 46fbcb4 commit 950a193
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion packages/antd/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,9 @@ type ColSpanType = number | string
export type IAntdSchemaFormProps = FormProps &
IFormItemTopProps &
PreviewTextConfigProps &
ISchemaFormProps
ISchemaFormProps | {
onSubmit?: ISchemaFormProps['onSubmit']
}

export type IAntdSchemaFieldProps = IMarkupSchemaFieldProps

Expand Down
4 changes: 3 additions & 1 deletion packages/next/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,9 @@ type ColSpanType = number | string
export type INextSchemaFormProps = FormProps &
IFormItemTopProps &
PreviewTextConfigProps &
ISchemaFormProps
ISchemaFormProps | {
onSubmit?: ISchemaFormProps['onSubmit']
}

export type INextSchemaFieldProps = IMarkupSchemaFieldProps

Expand Down

0 comments on commit 950a193

Please sign in to comment.