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

TypeScript 5.6 features not available in 0.41.3 #446

Open
vicary opened this issue Jan 12, 2025 · 0 comments
Open

TypeScript 5.6 features not available in 0.41.3 #446

vicary opened this issue Jan 12, 2025 · 0 comments

Comments

@vicary
Copy link

vicary commented Jan 12, 2025

Using the new types such as MapIterator introduced in TypeScript 5.6 breaks the type check in my DNT builds.

I am using @deno/dnt@^0.41.3, where @ts-morph/bootstrap@^0.24.0 should be using typescript@~5.6.2, but ESM checks are failing for some reason.

[dnt] Transforming...
[dnt] Running npm install...

added 1 package, and audited 2 packages in 974ms

found 0 vulnerabilities
[dnt] Building project...
[dnt] Type checking ESM...
 - error TS2552: Cannot find name 'MapIterator'. Did you mean 'Iterator'?

How should I fix the type checks?

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

1 participant