Skip to content

Commit

Permalink
🔍 nit: fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
iamrajjoshi committed Sep 15, 2024
1 parent 4b47340 commit 1c3bf59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/ErrorGenerator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ const ErrorGenerator = () => {
for (let i = 0; i < count; i++) {
try {
// Intentionally cause a ReferenceError
// @ts-expect-error - nonExistentFunction is not defined
nonExistentFunction();
} catch (error) {
if (error instanceof Error) {
Expand Down

0 comments on commit 1c3bf59

Please sign in to comment.