forked from Mirrors/elk
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