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

chore(crwrsca): Fix TS issue in error.ts #11105

Merged
merged 1 commit into from
Jul 26, 2024

Conversation

Tobbe
Copy link
Member

@Tobbe Tobbe commented Jul 26, 2024

TypeScript was saying e was of type unknown, so I couldn't use the in operator. Which is of course correct. This PR fixes that by making sure e is an object and that it's not null.

@Tobbe Tobbe added the release:chore This PR is a chore (means nothing for users) label Jul 26, 2024
@Tobbe Tobbe added this to the chore milestone Jul 26, 2024
@Tobbe Tobbe enabled auto-merge (squash) July 26, 2024 22:01
@Tobbe Tobbe merged commit 9d08558 into redwoodjs:main Jul 26, 2024
46 of 48 checks passed
@Josh-Walker-GM Josh-Walker-GM modified the milestones: chore, v8.0.0 Sep 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:chore This PR is a chore (means nothing for users)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants