From c3cbcae97dd4ab79c37482955f69aed8694218a9 Mon Sep 17 00:00:00 2001 From: Tim Date: Wed, 19 Oct 2022 10:24:33 +0100 Subject: [PATCH] fix:(type-checking): typescript@4.8.4 Tprops error (#4390) --- src/generic.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/generic.d.ts b/src/generic.d.ts index 7d276377b7..ec217bf1e6 100644 --- a/src/generic.d.ts +++ b/src/generic.d.ts @@ -70,7 +70,7 @@ export type ShorthandRenderFunction = ( props: P, ) => React.ReactNode -export type SemanticShorthandCollection = SemanticShorthandItem[] +export type SemanticShorthandCollection> = SemanticShorthandItem[] export type SemanticShorthandContent = React.ReactNode export type SemanticShorthandItem> = | React.ReactNode