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

feat(typescript): remove dependency to 3rd party es2015 definition #2027

Merged
merged 1 commit into from
Oct 14, 2016

Conversation

kwonoj
Copy link
Member

@kwonoj kwonoj commented Oct 11, 2016

Description:
This PR enables lib option in TypeScript compiler 2.0 to include es2015 native type definitions for cjs build, instead of supplying 3rd party type definition.

Related issue (if exists):

closes #2016

@kwonoj
Copy link
Member Author

kwonoj commented Oct 11, 2016

This seems working by trying out local package generated via npm pack, not sure about additional verification approaches.

/cc @david-driscoll , @jayphelps for visibility.

Copy link
Member

@david-driscoll david-driscoll left a comment

Choose a reason for hiding this comment

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

Looks good...

I wonder for visibility should we document this somewhere? I'm not sure of the best template is for indicating what parts are "required" for TypeScript to compile correctly.

@david-driscoll
Copy link
Member

Travis stuck? Should I restart the build?

@kwonoj
Copy link
Member Author

kwonoj commented Oct 12, 2016

yes, let's retrigger. Not sure what happened on travis. For documentation, I think release note would be suffecient since supplying 3rd party typing was never officially documented. After this change, theoritically any consumer would not need 3rd party definition due to RxJS.

@coveralls
Copy link

Coverage Status

Coverage remained the same at 97.039% when pulling 8c20af0 on kwonoj:feat-es2015type into 1bee98a on ReactiveX:master.

@benlesh
Copy link
Member

benlesh commented Oct 13, 2016

LGTM ... merge if you're ready, @david-driscoll

@david-driscoll david-driscoll merged commit 4c31974 into ReactiveX:master Oct 14, 2016
@kwonoj kwonoj deleted the feat-es2015type branch November 18, 2016 07:22
@lock
Copy link

lock bot commented Jun 6, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jun 6, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Include es6 type definition via TypeScript compiler or 3rd party module
4 participants