Skip to content

Commit

Permalink
chore: type optional
Browse files Browse the repository at this point in the history
  • Loading branch information
1587315093 committed Jul 14, 2023
1 parent 15e97c5 commit 930ebc2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/components/cascader-view/cascader-view.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ type BaseOptionType = {
[key: string]: any
}
export type CascaderOption = {
label: string
value: string
label?: string
value?: string
disabled?: boolean
children?: CascaderOption[]
} & BaseOptionType
Expand Down
4 changes: 2 additions & 2 deletions src/components/tree-select/tree-select.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ import type { FieldNamesType } from '../../hooks'
const classPrefix = `adm-tree-select`

export type TreeSelectOption = {
label: string
value: string
label?: string
value?: string
children?: TreeSelectOption[]
} & {
[key: string]: any
Expand Down

0 comments on commit 930ebc2

Please sign in to comment.