From 69c2544b99bcd69697f3c405e22ba813dc138284 Mon Sep 17 00:00:00 2001 From: Beef Date: Sun, 26 Feb 2023 22:24:38 +0000 Subject: [PATCH] [TS] Use correct types for components --- src/def.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/def.d.ts b/src/def.d.ts index 64a53d9..503d873 100644 --- a/src/def.d.ts +++ b/src/def.d.ts @@ -366,8 +366,8 @@ interface VendettaObject { Search: _React.ComponentType; Alert: _React.ComponentType; // Vendetta - Summary: (props: SummaryProps) => JSX.Element; - ErrorBoundary: (props: ErrorBoundaryProps) => JSX.Element; + Summary: _React.ComponentType; + ErrorBoundary: _React.ComponentType; } toasts: { showToast: (content: string, asset: number) => void;