You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 30, 2018. It is now read-only.
TypeScript 2.2 will have Object and Intersection types, microsoft/TypeScript#13604 which should drastically improve our inference through mixins and this.
We should look to see what improvements this can bring in terms of typing.
The code for this is in master so available under typescript@next
The text was updated successfully, but these errors were encountered:
From what I've gathered, I'm not sure this can be directly leveraged to improve typing in compose. Having classes and interface be able to derive from objects can be handy for certain mixin patterns, but I'm not seeing a way to fit it into compose. The main benefit for compose I can see from these changes is the fact that the this type of an intersection is now the intersection but this is more of an indirect benefit to users of the library. For example, a previous iteration of the stores API had something like this
TypeScript 2.2 will have Object and Intersection types, microsoft/TypeScript#13604 which should drastically improve our inference through mixins and this.
We should look to see what improvements this can bring in terms of typing.
The code for this is in master so available under
typescript@next
The text was updated successfully, but these errors were encountered: