-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Impose a minimum TS lib for version 7. #5708
Comments
Related, it would be great if our |
Also related: microsoft/TypeScript#40462 |
I've had a quick look at this. Adding the triple-slash reference to What we do need to do, though, is figure out just how the |
It seems the value for the |
Because v7 has interop with
AsyncIterable
, we need to make sure TS users have a minimumlib
setting ofes2018
.Issue created for discussion.
Currently, with v7, TypeScript builds targeting ES2017 and under will have issues with typings because
ObservableInput<T>
includesAyncIterable<T>
which isn't available unless you have alib
of ES2018 or greater.One alternative might be to do some TypeScript type meta-programming to figure out if
AyncIterable
was available or not.The text was updated successfully, but these errors were encountered: