Generating components.d.ts files causes IDE to report an error
Author: xiegoudanCreated Oct 26, 2022Updated Oct 26, 2022
Describe the bug
In the root directory
Prompt for the components.d.ts file in the root directory
vite setting
components.d.ts error

Reproduction
none
System Info
System:
OS: Windows 10 10.0.22621
CPU: (12) x64 Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz
Memory: 18.62 GB / 31.94 GB
Binaries:
Node: 16.18.0 - D:\Applications\Nodejs\node.EXE
npm: 8.19.2 - D:\Applications\Nodejs\npm.CMD
Browsers:
Edge: Spartan (44.22621.674.0), Chromium (106.0.1370.52)
Internet Explorer: 11.0.22621.1Used Package Manager
pnpm
Validations
- Follow our Code of Conduct
- Read the Contributing Guide.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- The provided reproduction is a minimal reproducible of the bug.
Source: antfu-collective/vitesse