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

Invalid cjs types #195

Open
KaelWD opened this issue Nov 5, 2024 · 1 comment
Open

Invalid cjs types #195

KaelWD opened this issue Nov 5, 2024 · 1 comment

Comments

@KaelWD
Copy link

KaelWD commented Nov 5, 2024

https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseESM.md

@Garfield550
Copy link

Maybe same issue.

// file.cts

import synckit = require('synckit')

Module 'synckit' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead. ts(1471)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants