mirror of
https://gitee.com/ElemeFE/element.git
synced 2024-11-29 18:57:36 +08:00
Cascader: fix TypeScript 3.7 compatibility (#17881)
Fix error: 导入声明与“CascaderOption”的局部声明冲突
This commit is contained in:
parent
5558398411
commit
d15b778826
6
types/cascader.d.ts
vendored
6
types/cascader.d.ts
vendored
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user