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

fix(core) use NodeJS ReadableStream instead of DOM in TS definitions #124

Merged
merged 1 commit into from
Dec 13, 2019

Conversation

kaznovac
Copy link
Contributor

  • use NodeJS.ReadableStream instead of ReadableStream from DOM
  • set node tsconfig recommended settings for node 10.x in example app
  • explicitly provide only es2018 lib in tsconfig (to avoid accidental importing of DOM modules)

* set node tsconfig recommended settings for node 10.x
* explicitly provide only es2018 lib in tsc (to avoid accidental importing of DOM modules)
@kaznovac
Copy link
Contributor Author

this is node-fetch typings for reference about ReadableStream https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/node-fetch/index.d.ts

Copy link
Contributor

@xavdid xavdid left a comment

Choose a reason for hiding this comment

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

Awesome, TIL about those recommended settings!

@xavdid xavdid merged commit fe67c67 into zapier:master Dec 13, 2019
@kaznovac kaznovac deleted the fix-ts-definition branch December 14, 2019 12:22
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.

2 participants