chore(ui): add eslint-disable for empty object type in ChatInputProps

This commit is contained in:
cfngc4594 2025-03-24 21:25:31 +08:00
parent cbe8ff9941
commit c0783f0648

View File

@ -2,7 +2,8 @@ import * as React from "react";
import { Textarea } from "@/components/ui/textarea"; import { Textarea } from "@/components/ui/textarea";
import { cn } from "@/lib/utils"; import { cn } from "@/lib/utils";
interface ChatInputProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement>{} // eslint-disable-next-line @typescript-eslint/no-empty-object-type
interface ChatInputProps extends React.TextareaHTMLAttributes<HTMLTextAreaElement> { }
const ChatInput = React.forwardRef<HTMLTextAreaElement, ChatInputProps>( const ChatInput = React.forwardRef<HTMLTextAreaElement, ChatInputProps>(
({ className, ...props }, ref) => ( ({ className, ...props }, ref) => (