refactor: fix lint warnings (#2564)
This commit is contained in:
parent
cadf1b4a7c
commit
f0bc78ba2c
|
@ -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)
|
||||||
|
|
|
@ -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
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue