Commit 62cce0e9 authored by NateScarlet's avatar NateScarlet Committed by hetech

Cascader: correct type definitions of CascaderOption (#13613)

Allows `children` and `disabled` to be undefined
parent 814740b6
......@@ -7,8 +7,8 @@ export type ExpandTrigger = 'click' | 'hover'
export interface CascaderOption {
label: string,
value: any,
children: CascaderOption[],
disabled: boolean
children?: CascaderOption[],
disabled?: boolean
}
/** Cascader Component */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment