22 lines
416 B
TypeScript
22 lines
416 B
TypeScript
import type { LoggerApi } from '~/composables/useLogger'
|
|
import type { AuthClient } from '~/types/auth'
|
|
import type { ApiClients } from '~/types/api'
|
|
|
|
declare module '#app' {
|
|
interface NuxtApp {
|
|
$api: ApiClients
|
|
$auth: AuthClient
|
|
$logger: LoggerApi
|
|
}
|
|
}
|
|
|
|
declare module 'vue' {
|
|
interface ComponentCustomProperties {
|
|
$api: ApiClients
|
|
$auth: AuthClient
|
|
$logger: LoggerApi
|
|
}
|
|
}
|
|
|
|
export {}
|