qmhc/vite-plugin-dts

The new version (4.0.2) is unable to follow symbol for "Record"

Closed this issue · 2 comments

Describe the bug

When I updated the version from "3.9.1" to "4.0.2" I got the following error:

vite-plugin-dts-error

The project I left as an example may not be the smallest possible, but it is quite small.

Reproduction

https://github.com/luckasnix/structured-objects/tree/main

Steps to reproduce

  • Run npm i
  • Run npm i vite-plugin-dts@4.0.2 --save-exact --save-dev
  • Run npm run build

System Info

- OS: Microsoft Windows 10 Home
- Node: 22.5.1
- npm: 10.8.2

Validations

I think this will be fixed by #366.
A workaround until this is merged and released is to use 4.0.0-beta.2, the version that does not contain #360.

Issue resolved 🙏