elk/composables/client.ts

6 lines
122 B
TypeScript

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