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

Remove lib from tsconfig. Use reference directive for AsyncIterable #161

Merged
merged 2 commits into from
Oct 26, 2018

Conversation

southpolesteve
Copy link
Contributor

Shipping a library that specifies any built-in TS lib types is problematic as downstream consumers will also have to add that lib option to their tsconfig. We can work around this by using a triple-Slash directive instead. See microsoft/TypeScript#27416

@burkeholland I believe this should fix #127 without you having to specify lib: ["esnext"] in your own repo

@southpolesteve southpolesteve changed the base branch from master to dev October 20, 2018 18:58
@southpolesteve southpolesteve changed the base branch from dev to master October 20, 2018 18:59
@southpolesteve
Copy link
Contributor Author

@bterlson We should chat about this. I think it will be important for other libraries not to run into this same issue

Copy link
Contributor

@christopheranderson christopheranderson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We synced over skype on these changes. Sounds like the right fix to our typescript issues.

@christopheranderson christopheranderson added the improvement Change to existing functional behavior (perf, logging, etc.) label Oct 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Change to existing functional behavior (perf, logging, etc.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot find name 'AsyncIterable'
2 participants