Skip to content

v9.4.0 cannot resolve .d.ts files #1504

@falsandtru

Description

@falsandtru

ts-loader was able to resolve index.d.ts from index.ts until v9.3.1, but cannot do it since v9.4.0. The errors occurs on Ubuntu 20.04 but doesn't on Windows 10.

Expected Behaviour

no error

Actual Behaviour

ERROR in /home/runner/work/pjax-api/pjax-api/index.ts
./index.ts 1:9-15
[tsl] ERROR in /home/runner/work/pjax-api/pjax-api/index.ts(1,10)
      TS2303: Circular definition of import alias 'Config'.
 @ ./test/integration/index.test.ts 7:16-38

https://github.com/falsandtru/pjax-api/actions/runs/3081442336/jobs/4980275627

Steps to Reproduce the Problem

Check out falsandtru/pjax-api@76ad376 on Ubuntu.
Run npm i && npm run dist.

Location of a Minimal Repository that Demonstrates the Issue.

falsandtru/pjax-api@76ad376

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions