Cascader: fix TypeScript 3.7 compatibility (#17881)

Fix error: 导入声明与“CascaderOption”的局部声明冲突
This commit is contained in:
Carter Li 2019-10-30 17:43:07 +08:00 committed by Zhi Cun
parent 5558398411
commit d15b778826

6
types/cascader.d.ts vendored
View File

@ -2,11 +2,7 @@ import { VNode } from 'vue';
import { ElementUIComponent, ElementUIComponentSize } from './component'
import { CascaderOption, CascaderProps, CascaderNode } from './cascader-panel';
export type CascaderOption = CascaderOption
export type CascaderProps<V, D> = CascaderProps<V, D>
export type CascaderNode<V, D> = CascaderNode<V, D>
export { CascaderOption, CascaderProps, CascaderNode };
export interface CascaderSlots {
/** Custom label content */