regression: wrong `d.ts` of `@intlify/message-compiler`
kazupon opened this issue · comments
kazuya kawaguchi commented
@kazupon This was [patched in v9.10.2](https://stackblitz.com/edit/vitejs-vite-dgp1ps?file=package.json) but [regressed in v9.11.0](https://stackblitz.com/edit/vitejs-vite-5sfnez?file=package.json).
Updated error output:
node_modules/@intlify/message-compiler/dist/message-compiler.d.ts:1:23 - error TS2688: Cannot find type definition file for '.pnpm/source-map-js@1.2.0/node_modules/source-map-js'.
1 /// <reference types=".pnpm/source-map-js@1.2.0/node_modules/source-map-js" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@intlify/message-compiler/dist/message-compiler.d.ts:2:23 - error TS2688: Cannot find type definition file for 'node_modules/.pnpm/source-map-js@1.0.2/node_modules/source-map-js/source-map'.
2 /// <reference types="node_modules/.pnpm/source-map-js@1.0.2/node_modules/source-map-js/source-map" />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Found 2 errors in the same file, starting at: node_modules/@intlify/message-compiler/dist/message-compiler.d.ts:1
Originally posted by @shengslogar in #1760 (comment)
Sheng Slogar commented
Thanks for the quick fix!! 🙏