From 01e6843e4e31ed79708a6322c0230d0cc00abae6 Mon Sep 17 00:00:00 2001 From: Dimitri POSTOLOV Date: Tue, 7 Mar 2023 10:27:11 +0100 Subject: [PATCH] remove `null` from `ReactNode | null` union (because `null` already value of `ReactNode`) (#3090) --- .../graphiql-plugin-explorer/src/graphiql-explorer.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/graphiql-plugin-explorer/src/graphiql-explorer.d.ts b/packages/graphiql-plugin-explorer/src/graphiql-explorer.d.ts index ca00e27d90b..d9560f7521f 100644 --- a/packages/graphiql-plugin-explorer/src/graphiql-explorer.d.ts +++ b/packages/graphiql-plugin-explorer/src/graphiql-explorer.d.ts @@ -43,10 +43,10 @@ declare module 'graphiql-explorer' { variable: string; atom: string; } | null; - arrowOpen?: ReactNode | null; - arrowClosed?: ReactNode | null; - checkboxChecked?: ReactNode | null; - checkboxUnchecked?: ReactNode | null; + arrowOpen?: ReactNode; + arrowClosed?: ReactNode; + checkboxChecked?: ReactNode; + checkboxUnchecked?: ReactNode; styles?: { explorerActionsStyle?: CSSProperties; buttonStyle?: CSSProperties;