mirror of
https://github.com/the1812/Bilibili-Evolved.git
synced 2025-11-04 21:22:45 +08:00
fix: 类型注解
This commit is contained in:
parent
1616061f65
commit
82f0e97a1a
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user