From 0844171b77671091a3505fb5cd8d2985a163ab68 Mon Sep 17 00:00:00 2001 From: Jamie Harding Date: Tue, 1 Oct 2024 10:27:11 +0200 Subject: [PATCH] fix --- components/ui/input.tsx | 3 +-- eslint.config.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/components/ui/input.tsx b/components/ui/input.tsx index 677d05fd..5c17e748 100644 --- a/components/ui/input.tsx +++ b/components/ui/input.tsx @@ -2,8 +2,7 @@ import * as React from "react" import { cn } from "@/lib/utils" -export interface InputProps - extends React.InputHTMLAttributes {} +export type InputProps = React.InputHTMLAttributes const Input = React.forwardRef( ({ className, type, ...props }, ref) => { diff --git a/eslint.config.js b/eslint.config.js index 77edcf7a..5b8b9953 100644 --- a/eslint.config.js +++ b/eslint.config.js @@ -53,7 +53,7 @@ export default [ 'react/jsx-key': 'off', '@typescript-eslint/no-unused-vars': 'off', '@typescript-eslint/no-explicit-any': 'off', - '@typescript-eslint/no-empty-object-type': 'off', + // '@typescript-eslint/no-empty-object-type': 'off', // 'no-case-declarations': 'off', // 'react/no-unescaped-entities': 'off', // 'no-unsafe-optional-chaining': 'off',