From a4b39e7a40816079ac68ea5cd7148706afbd2fea Mon Sep 17 00:00:00 2001 From: Dimitri POSTOLOV Date: Tue, 7 Mar 2023 00:29:45 +0100 Subject: [PATCH] remove `null` from `ReactNode | null` union (because `null` already value of `ReactNode`) --- .../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;