Skip to content
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

chore: add triple-slash ref to asynciterable #5807

Merged
merged 1 commit into from
Oct 11, 2020

Conversation

cartant
Copy link
Collaborator

@cartant cartant commented Oct 8, 2020

Description:

This PR adds a triple-slash lib reference to esnext.asynciterable as per the TypeScript recommendation/suggestion linked to in the accompanying comment.

I've tested this locally and it resolves the issue with unknown being inferred in situations in which the tsconfig.json does not specify a sufficiently-up-to-date lib.

We could add lib references for any other types we depend upon - like Promise - but I figured we ought to keep this minimal and address only the problems that we've seen so far to minimize and unintended consequences.

Related issue (if exists): #5708

@cartant cartant requested a review from benlesh October 8, 2020 03:47
@benlesh benlesh merged commit 064f79b into ReactiveX:master Oct 11, 2020
@cartant cartant deleted the issue-5708 branch November 6, 2020 06:25
@cartant cartant mentioned this pull request Mar 7, 2021
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.

3 participants