style: lint fix

This commit is contained in:
pengzhanbo 2024-02-21 15:22:56 +08:00
parent 8e985b8d05
commit 90ddf0a72a
2 changed files with 3 additions and 3 deletions

View File

@ -4,8 +4,8 @@ import { inBrowser } from '../utils/index.js'
interface UseFlyoutOptions {
el: Ref<HTMLElement | undefined>
onFocus?(): void
onBlur?(): void
onFocus?: () => void
onBlur?: () => void
}
export const focusedElement = ref<HTMLElement>()

View File

@ -1,5 +1,5 @@
export interface ScrollPromise {
wait(): Promise<void> | null
wait: () => Promise<void> | null
pending: () => void
resolve: () => void
}