-
Notifications
You must be signed in to change notification settings - Fork 221
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
Fluent style incompatible with typescript #2503
Comments
Related microsoft/TypeScript#275 |
And #2119 from our end |
Will close the older one for the sake of bumping and copying all information over here |
Related typescript Currently blocking on the following TypeScript issues
@rcchen said
|
New ticket at microsoft/TypeScript#3694 |
+1 |
Typescript 2.0 has fixed this such that fluent style now preserves the polymorphic type in most cases; @ronanquillevere is there a specific instance where you're hitting this still in ts 2.0? |
On 2.0.7 was not working with inheritance. Still returning the parent abstract type. |
Issue:
.addDataset
returnsthis
, but it is invoked on thePlottable.Plot
, hence it returns aPlottable.Plot
, instead of aPlottable.Plots.Line
There is a duplicate of this somewhere, if you find it, please close that one as duplicate, since it did not have an easy example / was outdated as far as I remember
The text was updated successfully, but these errors were encountered: