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(types): allow fastify.https to be null #4226

Merged
merged 2 commits into from Aug 27, 2022
Merged

fix(types): allow fastify.https to be null #4226

merged 2 commits into from Aug 27, 2022

Conversation

SuperchupuDev
Copy link
Contributor

@SuperchupuDev SuperchupuDev commented Aug 27, 2022

The docs say that fastify.https can be set as null for not making the socket be configured for TLS. This PR updates the types to reflect that, since it currently only allows it to be https.ServerOptions

image

Checklist

@github-actions github-actions bot added the typescript TypeScript related label Aug 27, 2022
@Fdawgs Fdawgs changed the title types: allow fastify.https to be null fix(types): allow fastify.https to be null Aug 27, 2022
@Uzlopak
Copy link
Contributor

Uzlopak commented Aug 27, 2022

Please add a typings test.

Copy link
Contributor

@Uzlopak Uzlopak left a comment

Choose a reason for hiding this comment

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

LGTM

@github-actions
Copy link

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 28, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
typescript TypeScript related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants