core
core copied to clipboard
fix(type): reverse the overload sequence of ComposeSignature
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.