Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vite error when running with lint-staged #72

Closed
chertik77 opened this issue May 26, 2024 · 1 comment
Closed

Vite error when running with lint-staged #72

chertik77 opened this issue May 26, 2024 · 1 comment

Comments

@chertik77
Copy link

chertik77 commented May 26, 2024

const options: CreateAxiosDefaults = {
  baseURL: import.meta.env.VITE_API_BASE_URL
}

error TS2339: Property 'env' does not exist on type 'ImportMeta'.

@gustavopch
Copy link
Owner

Same as #20.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants