mirror of
https://github.com/elk-zone/elk.git
synced 2024-11-04 16:09:59 +00: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