From adf7bd0dccb73e0bee650957e304693c89c2e3ea Mon Sep 17 00:00:00 2001 From: Nuckyz <61953774+Nuckyz@users.noreply.github.com> Date: Wed, 18 Sep 2024 15:06:13 -0300 Subject: [PATCH] clean --- src/globals.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/globals.d.ts b/src/globals.d.ts index be9553bd3..781b98a30 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -17,11 +17,12 @@ */ import { LoDashStatic } from "lodash"; +import { PropsWithChildren } from "react"; declare global { type AnyRecord = Record; type AnyComponentType

= React.ComponentType

& AnyRecord; - type AnyComponentTypeWithChildren

= React.ComponentType & AnyRecord> & AnyRecord; + type AnyComponentTypeWithChildren

= AnyComponentType>; /** * This exists only at build time, so references to it in patches should insert it