Skip to content

add generic to typescript Reply.send payload#2032

Merged
mcollina merged 1 commit intofastify:masterfrom
kandros:generic-typescript-send-payload
Jan 8, 2020
Merged

add generic to typescript Reply.send payload#2032
mcollina merged 1 commit intofastify:masterfrom
kandros:generic-typescript-send-payload

Conversation

@kandros
Copy link
Copy Markdown
Contributor

@kandros kandros commented Jan 8, 2020

fixes #2030 for v2

using T instead ofPayload as it's much more readable

Screenshot 2020-01-08 at 18 00 15
Screenshot 2020-01-08 at 18 00 35

Copy link
Copy Markdown
Member

@RafaelGSS RafaelGSS 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
Copy Markdown
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
Copy Markdown
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 🚀 @mcollina this should be a minor bump

@github-actions
Copy link
Copy Markdown

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 Feb 10, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

semver-minor Issue or PR that should land as semver minor

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add generic parameter for Reply send method

4 participants