types: replace any with unknown
This commit is contained in:
@@ -8,7 +8,7 @@ interface PageHeaderProps {
|
||||
title?: string
|
||||
link?: string
|
||||
search?: string
|
||||
data: any[]
|
||||
data: unknown[]
|
||||
}
|
||||
|
||||
export default function PageHeader({
|
||||
|
||||
@@ -10,7 +10,7 @@ import { Input } from "../ui/input"
|
||||
interface SearchProps {
|
||||
paramKey?: string
|
||||
placeholder?: string
|
||||
[x: string]: any
|
||||
[x: string]: unknown
|
||||
}
|
||||
|
||||
export default function Search({
|
||||
|
||||
Reference in New Issue
Block a user