From 796c4198c6c0697df2b0d3f8b2f85f1dececb984 Mon Sep 17 00:00:00 2001 From: konnorrogers Date: Thu, 17 Aug 2023 17:20:56 -0400 Subject: [PATCH] fix bad type --- scripts/make-react.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/make-react.js b/scripts/make-react.js index 35187e620..6169dd341 100644 --- a/scripts/make-react.js +++ b/scripts/make-react.js @@ -58,8 +58,7 @@ components.map(component => { React.ComponentPropsWithoutRef & { ref?: React.ForwardedRef; } - > & - Omit, 'ref'>; + > & { displayName?: string } const tagName = '${component.tagName}'