Skip to content

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

3 participants