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

Stop TypeScript compilation error for new projects #194

Merged
merged 1 commit into from
Feb 2, 2023
Merged

Conversation

phocks
Copy link
Member

@phocks phocks commented Feb 2, 2023

For brand new react projects the compiler now panics when we try to pass err: unknown as a prop to the ErrorBox. This is the simplest fix. Open to other "proper" ways to get it done other than any.

For brand new react projects the compiler now panics when we try to pass `err: unknown` as a prop to the ErrorBox. This is the simplest fix. Open to other "proper" ways to get it done.
@phocks phocks merged commit adf912f into main Feb 2, 2023
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.

2 participants