From 7b4f56f90da5b5030ff4a4ec19845c4d4b1ecd75 Mon Sep 17 00:00:00 2001 From: dangered wolf Date: Fri, 10 Nov 2023 03:30:06 -0500 Subject: [PATCH] Fix this after prettier --- src/helpers/graphql.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/helpers/graphql.ts b/src/helpers/graphql.ts index 310dd75..0e10623 100644 --- a/src/helpers/graphql.ts +++ b/src/helpers/graphql.ts @@ -16,9 +16,9 @@ export const isGraphQLTweet = (response: unknown): response is GraphQLTweet => { return ( typeof response === 'object' && response !== null && - // @ts-expect-error it's 6 am please let me sleep (('__typename' in response && (response.__typename === 'Tweet' || response.__typename === 'TweetWithVisibilityResults')) || + // @ts-expect-error it's 6 am please let me sleep ('legacy' in response && response.legacy?.full_text)) ); };