Closed TiagoSilvaPereira closed 2 years ago
Adding vite/client to tsconfig.json compiler options, as recommended on Vite docs: https://vitejs.dev/guide/features.html#client-types. It avoids the following errors when using tsc:
Property 'env' does not exist on type 'ImportMeta'
Thanks for your pull request! Nice work 😄 I can't think of a reason why we shouldn't have this option enabled by default, so let's go!
Adding vite/client to tsconfig.json compiler options, as recommended on Vite docs: https://vitejs.dev/guide/features.html#client-types. It avoids the following errors when using tsc: