refactor: fix lint warnings (#2564)

This commit is contained in:
TAKAHASHI Shuuji 2024-01-21 17:30:15 +09:00 committed by GitHub
parent cadf1b4a7c
commit f0bc78ba2c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 5 additions and 2 deletions

View file

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

View file

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

View file

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