From e96b50ec9cea38fd6c88c23a1752ac59f9b5ca47 Mon Sep 17 00:00:00 2001 From: Ted <30513719+preflower@users.noreply.github.com> Date: Wed, 30 Aug 2023 11:10:52 +0800 Subject: [PATCH] fix: Type 'CSSProperties' is not assignable to type 'Style' error --- src/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/index.tsx b/src/index.tsx index 7ebd1080..3a56155e 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -15,9 +15,7 @@ type TextareaProps = React.TextareaHTMLAttributes; type Style = Omit< NonNullable, 'maxHeight' | 'minHeight' -> & { - height?: number; -}; +>; export type TextareaHeightChangeMeta = { rowHeight: number;