diff --git a/src/globals.d.ts b/src/globals.d.ts index 781b98a30..e02ad0416 100644 --- a/src/globals.d.ts +++ b/src/globals.d.ts @@ -17,12 +17,11 @@ */ import { LoDashStatic } from "lodash"; -import { PropsWithChildren } from "react"; declare global { type AnyRecord = Record; type AnyComponentType

= React.ComponentType

& AnyRecord; - type AnyComponentTypeWithChildren

= AnyComponentType>; + type AnyComponentTypeWithChildren

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