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

types(index): export errors #210

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

types(index): export errors #210

wants to merge 1 commit into from

Conversation

Fdawgs
Copy link
Member

@Fdawgs Fdawgs commented Jan 27, 2025

Closes #182

Checklist

import { FastifyError } from '@fastify/error'

declare interface FastifyBearerAuthErrors {
FST_BEARER_AUTH_INVALID_KEYS_OPTION_TYPE: FastifyError
Copy link
Contributor

Choose a reason for hiding this comment

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

didnt we have some smart generic type logic for FastifyError

Copy link
Member Author

Choose a reason for hiding this comment

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

...I have no idea.

@Fdawgs Fdawgs requested a review from a team January 29, 2025 19:34

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

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.

Please exports your errors type
2 participants