Can't use logger outside vue. Could be provided correct type? Isn't the inject method the vue composition API? export function logAxiosError(error: AxiosError): void { const logger = inject('vuejs3-logger') as Log; logger.error('AxiosError: ', error); }