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)
).![](https://answer-overflow-discord-attachments.s3.amazonaws.com/1123926103363432549/image.png)
0 Replies