AOSSIE-Org / AOSSIE-Org/PictoPy-Website

Fix ESLint errors in Home1.tsx and input.tsx

オープン
#33 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
TypeScript
スター
12
フォーク
16
PR マージ指標
30日以内にマージされた PR はありません

説明

## Description

Running `npm run lint` currently reports 2 errors that should be fixed:
src/Pages/Landing page/Home1.tsx
183:29 error Unexpected any. Specify a different type @typescript-eslint/no-explicit-any

src/components/ui/input.tsx
5:18 error An interface declaring no members is equivalent to its supertype @typescript-eslint/no-empty-object-type

## Tasks

- [ ] `Home1.tsx:183` — In `ShuffleGrid`, replace `useRef(null)` with a proper type for the timeout ref, e.g. `useRef | null>(null)`.
- [ ] `input.tsx:5` — Replace the empty `interface InputProps extends React.InputHTMLAttributes {}` with `export type InputProps = React.InputHTMLAttributes;`.

## Acceptance Criteria

- `npm run lint` reports 0 errors (warnings out of scope for this issue).
- No behavioral changes to the app — this is a type-safety cleanup only.

## Out of Scope

Existing lint warnings (`exhaustive-deps`, `react-refresh/only-export-components`) — tracked separately if needed.

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。