Skip to content

Improve flow declarations #682

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

Merged
merged 2 commits into from
Sep 23, 2016
Merged

Improve flow declarations #682

merged 2 commits into from
Sep 23, 2016

Conversation

ktsn
Copy link
Member

@ktsn ktsn commented Sep 23, 2016

  • update Function types to stricter format.
  • define Dictionary<T> and replace all { [name: string}: T } to it.

I think composing existing types with generics is more understandable than defining a new type alias.

@posva
Copy link
Member

posva commented Sep 23, 2016

That looks awesome! I don't know that much about flow yet and haven't tested locally for some other ocurrences but sof far LGTM!

@yyx990803
Copy link
Member

👍

@yyx990803 yyx990803 merged commit 34c57e1 into vuejs:dev Sep 23, 2016
@ktsn ktsn deleted the improve-flow branch September 23, 2016 18:35
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.

3 participants