Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export all types #15878

Closed
eakarpov opened this issue Jun 3, 2019 · 4 comments
Closed

Export all types #15878

eakarpov opened this issue Jun 3, 2019 · 4 comments
Assignees

Comments

@eakarpov
Copy link

eakarpov commented Jun 3, 2019

Existing Component

Yes

Component Name

Every component

Description

Export all types for manage parameters passed to components. For example, ElTree is exported as ElementUI.Tree, but type TreeNode that is used inside it is not exported and no way to use it in your application to validate params.

@island205 island205 added this to the 2.10.0 milestone Jun 4, 2019
@island205
Copy link
Contributor

TreeNode first

@WaSheep
Copy link

WaSheep commented Jun 20, 2019

related #15934

@island205 island205 modified the milestones: 2.10.0, 2.11.0 Jun 25, 2019
@jw-foss
Copy link
Contributor

jw-foss commented Jul 2, 2019

@eakarpov you can actually importing types by:

import { TreeNode } from 'element-ui/types/tree';

@iamkun
Copy link
Member

iamkun commented Jul 24, 2019

I'll close this issue since it's been a while since it's been opened. Feel free to reopen if you have updates on this

@iamkun iamkun closed this as completed Jul 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants