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(nextjs): Remove index signaure in captureUnderscoreErrorException argument type #5463

Merged
merged 1 commit into from Jul 26, 2022

Conversation

lobsterkatie
Copy link
Member

This removes the index signature in the ContextOrProps type in our nextjs _error helper function, captureUnderscoreErrorException, as it's causing build errors for people writing their _error page in TS.

Note: The problem I anticipated, which led me to add it in the first place, hasn't materialized in my testing.

Fixes #5448.

@lobsterkatie lobsterkatie merged commit 43ace49 into master Jul 26, 2022
@lobsterkatie lobsterkatie deleted the kmclb-nextjs-fix-_error-types branch July 26, 2022 00:45
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.

Typing issue with the custom _error page in TypeScript
2 participants