How to use declarations from `vite/client`?
There are declarations: https://esm.sh/v126/vite@4.3.9/client.d.ts
According to documentation, I need to specify
types
in compilerOptions
:
and in import_map.json
I have:
seems like Deno resolves vite/client
fine, but doesn't merge declarations (pic, Property 'env' does not exist on type 'ImportMeta'. deno-ts(2339)
).0 Replies