From 1c3bf590798482248a8c952f797acc3027f5ca80 Mon Sep 17 00:00:00 2001 From: Raj Joshi Date: Sun, 15 Sep 2024 09:20:36 -0700 Subject: [PATCH] :mag: nit: fix typing --- src/app/ErrorGenerator.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/ErrorGenerator.tsx b/src/app/ErrorGenerator.tsx index 87a2293..8d82fc9 100644 --- a/src/app/ErrorGenerator.tsx +++ b/src/app/ErrorGenerator.tsx @@ -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) {