Skip to content

fix: type error in the error handling section#236

Open
0xjannis wants to merge 1 commit intoHugoRCD:mainfrom
0xjannis:patch-1
Open

fix: type error in the error handling section#236
0xjannis wants to merge 1 commit intoHugoRCD:mainfrom
0xjannis:patch-1

Conversation

@0xjannis
Copy link
Copy Markdown

Added typing for parsed.status to match Hono's required ContentfulStatusCode and prevent typing errors.

🔗 Linked issue

📚 Description

This change adds explicit typing for parsed.status to align with Hono's required ContentfulStatusCode.

Without this, TypeScript may throw type errors when using parsed.status in responses. By defining the correct type, this ensures type safety.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

Added typing for parsed.status to match Hono's required ContentfulStatusCode and prevent typing errors.
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

@0xjannis is attempting to deploy a commit to the HRCD Projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 29, 2026

Thank you for following the naming conventions! 🙏

@0xjannis 0xjannis changed the title Update Error Handling Section fix type error in the error handling section Mar 29, 2026
@0xjannis 0xjannis changed the title fix type error in the error handling section fix: type error in the error handling section Mar 29, 2026
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.

1 participant