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

refactor(types): remove 2nd type parameter of find/findAll to allow type inference #318

Merged
merged 1 commit into from
Jan 1, 2018
Merged

refactor(types): remove 2nd type parameter of find/findAll to allow type inference #318

merged 1 commit into from
Jan 1, 2018

Conversation

ktsn
Copy link
Member

@ktsn ktsn commented Jan 1, 2018

I noticed that we don't need the 2nd type parameter of find/findAll. So we can remove it so that it allows type inference of component type when we pass a component constructor as same as passing a component options object.

@eddyerburgh eddyerburgh merged commit c5cab72 into vuejs:dev Jan 1, 2018
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

Successfully merging this pull request may close these issues.

2 participants