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 default export to commonjs export. Fixes #76. #78

Merged
merged 1 commit into from
Jun 25, 2019

Conversation

Marsup
Copy link
Contributor

@Marsup Marsup commented Jun 23, 2019

As discussed in the issue, changing the default export. Also removing the export that isn't compatible with this format.

I also changed the test to make the server start so you can verify that it works by running something like ts-node test/types/index.ts.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

LGTM

@mcollina mcollina requested a review from Ethan-Arrowood June 24, 2019 07:48
@mcollina
Copy link
Member

@Ethan-Arrowood would you mind taking a look?

Copy link
Member

@Ethan-Arrowood Ethan-Arrowood left a comment

Choose a reason for hiding this comment

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

LGTM, import/export is so fun 🎉

@Eomm
Copy link
Member

Eomm commented Jun 25, 2019

It is semver-major right?

@mcollina
Copy link
Member

I don’t think so. The types were just wrong.

@Eomm Eomm merged commit 7642182 into fastify:master Jun 25, 2019
@Eomm Eomm mentioned this pull request Jun 25, 2019
@Marsup Marsup deleted the fix-default-export branch June 26, 2019 08:33
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.

4 participants