elk/composables/client.ts
2022-11-14 10:20:07 +08:00

5 lines
122 B
TypeScript

import type { MastoClient } from 'masto'
export function useMasto() {
return inject('masto') as Promise<MastoClient>
}