gustavopch / tsc-files

A tiny tool to run `tsc` on specific files without ignoring tsconfig.json
MIT License
234 stars 49 forks source link

Vite error when running with lint-staged #72

Closed chertik77 closed 6 months ago

chertik77 commented 6 months ago
const options: CreateAxiosDefaults = {
  baseURL: import.meta.env.VITE_API_BASE_URL
}

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

gustavopch commented 6 months ago

Same as https://github.com/gustavopch/tsc-files/issues/20.