ignore typescript errors the way our eslint likes it
This commit is contained in:
1 file changed
+1
-1
@@ -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 (
|
||||
<View style={theme.card}>
|
||||
|
||||
Reference in new issue
Block a user