From 052f9b555e1c1ecac6bcee250d872de2b2355490 Mon Sep 17 00:00:00 2001 From: Yashvardhan Jagnani Date: Tue, 25 Jun 2024 12:22:46 +0530 Subject: [PATCH] nit --- src/utils/types/shared.types.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/types/shared.types.ts b/src/utils/types/shared.types.ts index cbaad107..992e3f35 100644 --- a/src/utils/types/shared.types.ts +++ b/src/utils/types/shared.types.ts @@ -101,7 +101,7 @@ export interface HeadingProps export type ActionableType< T extends | keyof JSX.IntrinsicElements - | React.ComponentType = React.ComponentType, + | React.ComponentType = keyof JSX.IntrinsicElements, > = | (T extends keyof JSX.IntrinsicElements ? { parent: T; parentProps: JSX.IntrinsicElements[T] }