Skip to content

Incorrect import when compiling with TypeScript 6 #703

Description

@Viktor-Ivliev

In the previous version of TypeScript, the compiler apparently didn't check things quite as strictly. Now that we've started using TS 6, this error has appeared:

✘ [ERROR] TS2882: Cannot find module or type declarations for side-effect import of './polyfills.js'. [plugin angular-compiler]
node_modules/.pnpm/@panzoom+panzoom@4.6.2/node_modules/@panzoom/panzoom/dist/src/panzoom.d.ts:10:7:
10 │ import './polyfills.js';
"@panzoom/panzoom": "4.6.2",
"typescript": "6.0.3",
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions