Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

regression: wrong d.ts of @intlify/message-compiler #1793

Closed
kazupon opened this issue Apr 10, 2024 · 1 comment · Fixed by #1794
Closed

regression: wrong d.ts of @intlify/message-compiler #1793

kazupon opened this issue Apr 10, 2024 · 1 comment · Fixed by #1794
Labels
❗ p4-important Priority 4: bugs that violate documented behavior, or significantly impact perf Type: Bug Bug or Bug fixes

Comments

@kazupon
Copy link
Member

kazupon commented Apr 10, 2024

          @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)

@kazupon kazupon added Type: Bug Bug or Bug fixes ❗ p4-important Priority 4: bugs that violate documented behavior, or significantly impact perf labels Apr 10, 2024
@shengslogar
Copy link

Thanks for the quick fix!! 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
❗ p4-important Priority 4: bugs that violate documented behavior, or significantly impact perf Type: Bug Bug or Bug fixes
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants