refactor: fix lint warnings (#2564)

pull/2566/head
TAKAHASHI Shuuji 2024-01-21 17:30:15 +09:00 zatwierdzone przez GitHub
rodzic cadf1b4a7c
commit f0bc78ba2c
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
3 zmienionych plików z 5 dodań i 2 usunięć

Wyświetl plik

@ -26,6 +26,9 @@ export function useDeactivated() {
* ### When the component is restored from the background * ### When the component is restored from the background
* *
* for handling problems caused by the keepalive function * for handling problems caused by the keepalive function
*
* @param hook
* @param target
*/ */
export function onReactivated(hook: () => void, target?: ComponentInternalInstance | null): void { export function onReactivated(hook: () => void, target?: ComponentInternalInstance | null): void {
const initial = ref(true) const initial = ref(true)

Wyświetl plik

@ -21,7 +21,7 @@ type IconType = 'transparent' | 'maskable' | 'apple'
*/ */
interface Icons extends Record<IconType, Icon> { interface Icons extends Record<IconType, Icon> {
/** /**
* @default: { compressionLevel: 9, quality: 60 }` * @default: `{ compressionLevel: 9, quality: 60 }`
*/ */
png?: PngOptions png?: PngOptions
/** /**

Wyświetl plik

@ -218,7 +218,7 @@ export interface MastoAccount {
last_status_at: string last_status_at: string
/** Indicates that the profile is currently inactive and that its user has moved to a new account. */ /** Indicates that the profile is currently inactive and that its user has moved to a new account. */
moved?: boolean | null moved?: boolean | null
/** An extra entity returned when an account is suspended. **/ /** An extra entity returned when an account is suspended. */
suspended?: boolean | null suspended?: boolean | null
/** Additional metadata attached to a profile as name-value pairs. */ /** Additional metadata attached to a profile as name-value pairs. */
fields?: Field[] | null fields?: Field[] | null