Closed Tsury closed 9 months ago
With the (blessed) introduction of v4, adding this to vite-env.d.ts stopped working: /// <reference types="vite-plugin-comlink/client" />
vite-env.d.ts
/// <reference types="vite-plugin-comlink/client" />
It does not lead to the client.d.ts file that sits in the package root.
client.d.ts
Adding the export in the packages.json file solves it.
packages.json
Happy New Year and thanks for v4 🎉
Fixed
With the (blessed) introduction of v4, adding this to
vite-env.d.ts
stopped working:/// <reference types="vite-plugin-comlink/client" />
It does not lead to the
client.d.ts
file that sits in the package root.Adding the export in the
packages.json
file solves it.Happy New Year and thanks for v4 🎉