Skip to content

Commit

Permalink
Cascader: fix TypeScript 3.7 compatibility (ElemeFE#17881)
Browse files Browse the repository at this point in the history
Fix error: 导入声明与“CascaderOption”的局部声明冲突
  • Loading branch information
CarterLi authored and island205 committed Oct 30, 2019
1 parent 5558398 commit d15b778
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions types/cascader.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
Expand Down

0 comments on commit d15b778

Please sign in to comment.