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

docs: fix interface in route generic example #3222

Merged
merged 1 commit into from Aug 1, 2021
Merged

Conversation

shwao
Copy link
Contributor

@shwao shwao commented Jul 31, 2021

Used was Response but it should be Reply. Response is not found in RouteGenericInterface but Reply is.

https://github.com/fastify/fastify/blob/main/types/reply.d.ts#L9

https://github.com/fastify/fastify/blob/main/types/reply.d.ts#L32

Checklist

Used was `Response` but it should be `Reply`. `Response` is not found in `RouteGenericInterface` but `Reply` is.

https://github.com/fastify/fastify/blob/main/types/reply.d.ts#L9

https://github.com/fastify/fastify/blob/main/types/reply.d.ts#L32
@github-actions github-actions bot added the documentation Improvements or additions to documentation label Jul 31, 2021
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, good spot!

@mcollina mcollina merged commit 0e45243 into fastify:main Aug 1, 2021
This was referenced Aug 2, 2021
@github-actions
Copy link

github-actions bot commented Aug 2, 2022

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

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 2, 2022
@shwao shwao deleted the patch-1 branch August 2, 2022 07:38
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants