Fix type issues (#4176)

This commit is contained in:
InfiniteStash
2023-10-16 05:34:54 +02:00
committed by GitHub
parent 90dfaf668b
commit 409f8fc70c
17 changed files with 41 additions and 86 deletions

View File

@@ -0,0 +1,4 @@
import { ApolloError } from "@apollo/client";
export const apolloError = (error: unknown) =>
error instanceof ApolloError ? error.message : "";