fix: 类型注解

This commit is contained in:
magicFeirl 2025-04-12 13:24:31 +08:00
parent 1616061f65
commit 82f0e97a1a

View File

@ -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
}