~~~~~
node_modules/.pnpm/[email protected][email protected][email protected]_/node_modules/element-plus/es/utils/objects.d.ts:1:30 - error TS2307: Cannot find module 'type-fest' or its corresponding type declarations.
1 import type { Entries } from 'type-fest';
~~~~~~~~~~~
node_modules/.pnpm/[email protected][email protected][email protected][email protected]_/node_modules/pinia/dist/pinia.d.ts:354:26 -
error TS2536: Type 'key' cannot be used to index type 'Store<string, S, G, {}>'.
354 [key in Keys]: () => Store<string, S, G, {}>[key];
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 47 errors in 19 files.
Errors Files
5 node_modules/.pnpm/@[email protected][email protected][email protected]_/node_modules/@v
解决办法:
增加:"skipLibCheck":true
