mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-22 01:15:25 +03:00
fix: type error
This commit is contained in:
parent
2ff4041489
commit
eafcb5111a
1 changed files with 1 additions and 1 deletions
|
@ -1,6 +1,6 @@
|
|||
import type { MastoClient } from 'masto'
|
||||
|
||||
export const useMasto = () => useNuxtApp().$masto.api
|
||||
export const useMasto = () => useNuxtApp().$masto.api as MastoClient
|
||||
|
||||
export const setMasto = (masto: MastoClient) => {
|
||||
useNuxtApp().$masto?.replace(masto)
|
||||
|
|
Loading…
Reference in a new issue