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

Add TS type definitions #13

Merged
merged 2 commits into from
Nov 29, 2019
Merged

Add TS type definitions #13

merged 2 commits into from
Nov 29, 2019

Conversation

ricardo-devis-agullo
Copy link
Contributor

Add TypeScript definition file.

Closses #12

Checklist

  • run npm run test and npm run benchmark
  • [] tests and/or benchmarks are included
  • documentation is changed or added
  • commit message and code follows Code of conduct

@mcollina
Copy link
Member

Would you mind adding a unit test? Check out https://github.com/fastify/fastify-static for an example.

@ricardo-devis-agullo
Copy link
Contributor Author

For sure, done!

To follow the same structure as that one, I also moved the rest of the unit tests to a test/ folder :)

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

Copy link

@SerayaEryn SerayaEryn left a comment

Choose a reason for hiding this comment

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

LGTM

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

@@ -0,0 +1,29 @@
// Definitions by: ricardo-devis-agullo <https://github.com/ricardo-devis-agullo>
Copy link
Member

Choose a reason for hiding this comment

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

as this https://github.com/fastify/fastify-bearer-auth/pull/29/files#r336102699 feedback I would remove this.

Your contribution will remain in github and git blame forever 💪🏻😃
If you found it in other plugins it is an oversight

@thepixelmonk
Copy link

why is this still open?

@mcollina
Copy link
Member

@Eomm I'll drop that line in a commit on master.

@mcollina mcollina merged commit 50d1d5b into fastify:master Nov 29, 2019
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.

6 participants