diff --git a/registry/lib/components/style/hide/trending-search/index.ts b/registry/lib/components/style/hide/trending-search/index.ts index 0868f9965..2310e73cc 100644 --- a/registry/lib/components/style/hide/trending-search/index.ts +++ b/registry/lib/components/style/hide/trending-search/index.ts @@ -17,7 +17,7 @@ const getSearchInputClassName = () => { return isInLiveRoomPage() ? 'input.nav-search-content' : 'input.nav-search-input' } -const isSearchInput = (target: any) => { +const isSearchInput = (target: Node) => { if (!(target instanceof HTMLInputElement)) { return false }