Element: [Feature Request] Import declaration conflicts with local declaration of 'CascaderProps'.

Created on 7 Nov 2019  ·  6Comments  ·  Source: ElemeFE/element

Existing Component

Component Name

none

Description

there is a error when i package my project
ERROR in D:/OperationFront/node_modules/element-ui/types/cascader.d.ts
3:26 Import declaration conflicts with local declaration of 'CascaderProps'.
1 | import { VNode } from 'vue';
2 | import { ElementUIComponent, ElementUIComponentSize } from './component'

3 | import { CascaderOption, CascaderProps, CascaderNode } from './cascader-panel';
| ^
4 |
5 | export type CascaderOption = CascaderOption
6 |

error in D:/OperationFront/node_modules/element-ui/types/cascader.d.ts

Most helpful comment

安装3.7以下版本的ts

All 6 comments

Translation of this issue:

Existing Component

no

Component Name

None

Description

there is a error when i package my project

ERROR in D:/OperationFront/node_modules/element-ui/types/cascader.d.ts
3:26 Import declaration conflicts with local declaration of 'CascaderProps'.

1 | import { VNode } from 'vue';
2 | import { ElementUIComponent, ElementUIComponentSize } from './component'

3 | import { CascaderOption, CascaderProps, CascaderNode } from './cascader-panel';
| ^

4.
5 | export type CascaderOption = CascaderOption

6.
error in D:/OperationFront/node_modules/element-ui/types/cascader.d.ts

安装3.7以下版本的ts

遇到同样的问题。

安装3.7以下版本的ts

translation, please?

安装3.7以下并没有解决

Was this page helpful?
0 / 5 - 0 ratings

Related issues

smallpath picture smallpath  ·  3Comments

akaylh picture akaylh  ·  3Comments

EdenSpark picture EdenSpark  ·  3Comments

yorululu picture yorululu  ·  3Comments

dbskccc picture dbskccc  ·  3Comments