Skip to content

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

@kazupon

Description

@kazupon
          @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/[email protected]/node_modules/source-map-js'.

1 /// <reference types=".pnpm/[email protected]/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/[email protected]/node_modules/source-map-js/source-map'.

2 /// <reference types="node_modules/.pnpm/[email protected]/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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugBug or Bug fixes❗ p4-importantPriority 4: bugs that violate documented behavior, or significantly impact perf

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions