Skip to content

Lib generator needs work to support TS 5.6 #47

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

Closed
uhyo opened this issue Jul 27, 2024 · 0 comments · Fixed by #50
Closed

Lib generator needs work to support TS 5.6 #47

uhyo opened this issue Jul 27, 2024 · 0 comments · Fixed by #50
Labels
enhancement New feature or request

Comments

@uhyo
Copy link
Owner

uhyo commented Jul 27, 2024

TS 5.6's lib.esnext.iterator.d.ts introduces a new way of defining type defintions (microsoft/TypeScript#58222):

The lib .d.ts file itself is a module (due to existence of export {};) and uses a declare global block to define some premordial types.

Our lib generator needs to support this construct too. (and yes, there are several any in that file which I really want to alter!)

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

Successfully merging a pull request may close this issue.

1 participant