Skip to content

Commit e96b50e

Browse files
authored
fix: Type 'CSSProperties' is not assignable to type 'Style' error
1 parent 896596a commit e96b50e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,7 @@ type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;
1515
type Style = Omit<
1616
NonNullable<TextareaProps['style']>,
1717
'maxHeight' | 'minHeight'
18-
> & {
19-
height?: number;
20-
};
18+
>;
2119

2220
export type TextareaHeightChangeMeta = {
2321
rowHeight: number;

0 commit comments

Comments
 (0)