diff --git a/scripts/make-react.js b/scripts/make-react.js index acd3e2b2..ca57eb23 100644 --- a/scripts/make-react.js +++ b/scripts/make-react.js @@ -57,10 +57,7 @@ components.map(component => { > = React.JSXElementConstructor< React.ComponentPropsWithoutRef & { ref?: React.ForwardedRef; - } & - // Adds { displayName?: string, propTypes?: {} } etc. - Omit, 'ref'> - >; + > & { Omit, 'ref'>; const tagName = '${component.tagName}'