From 47d6f63a0ec8f3fcdd2f45350b15240a3c1ad2ca Mon Sep 17 00:00:00 2001 From: Leander Furumo Date: Thu, 1 Aug 2024 18:02:24 +0200 Subject: [PATCH] ignore typescript errors the way our eslint likes it --- src/modules/events/EventList.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/events/EventList.tsx b/src/modules/events/EventList.tsx index d8afc12..d296cd7 100644 --- a/src/modules/events/EventList.tsx +++ b/src/modules/events/EventList.tsx @@ -57,7 +57,7 @@ const EventList = () => { ); // TODO: temporary. Remove this once the new website is up - // @ts-ignore + // @ts-expect-error message is not a property of type. we don't care because this block of code is temporary if (error && error.message === 'I am a teapot') { return (