Skip to content

Conversation

@e-cloud
Copy link

@e-cloud e-cloud commented Jul 10, 2017

Without this fix, it will get typescript compiler error with typescript
v2.4.1 when compose has more than three args passed in.

As in https://www.typescriptlang.org/docs/handbook/functions.html, the
office example also places the signature with most args at the front.

Here we follow the example and make compiler find the best match.

Without this fix, it will get typescript compiler error with typescript
v2.4.1 when `compose` has more than three args passed in.

As in https://www.typescriptlang.org/docs/handbook/functions.html, the
office example also places the signature with most args at the front.

Here we follow the example and make compiler find the best match.
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.

1 participant