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

Refactor TypeScript definition to CommonJS compatible export #9

Merged
merged 1 commit into from
Apr 1, 2019
Merged

Refactor TypeScript definition to CommonJS compatible export #9

merged 1 commit into from
Apr 1, 2019

Conversation

BendingBender
Copy link
Contributor

Breaking change for the same reasons as PCancelable.

@sindresorhus sindresorhus merged commit fbf40b7 into sindresorhus:master Apr 1, 2019
@@ -45,4 +45,3 @@ class AggregateError extends Error {
}

module.exports = AggregateError;
module.exports.default = AggregateError;
Copy link
Contributor

Choose a reason for hiding this comment

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

Would you mind explaining this change? 🙏

I’d love to better understand it as I try to make https://github.com/octokit/rest.js and related libraries more useful in Typescript.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

To understand this, you'll have to first read the thread for this issue. And after that read the description for this issue.

Feel free to ask me if there is still something unclear to you.

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