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

Fix the type definitions for CJS #48

Merged
merged 2 commits into from
May 2, 2023
Merged

Fix the type definitions for CJS #48

merged 2 commits into from
May 2, 2023

Conversation

remcohaszing
Copy link
Contributor

Suggestion 1 from #23 was the correct approach. However, solution 2 was applied in #24. As a result, parse now has an index key of type number, except for the default property, which is a circular self reference.

As a result, the types look a bit funky, but they are now technically correct.

Suggestion 1 from #23 was the correct approach. However, solution 2 was
applied in #24. As a result, `parse` now has an index key of type number,
except for the `default` property, which is a circular self reference.

As a result, the types look a bit funky, but they are now technically
correct.
@dy dy merged commit bafa5be into jkroso:master May 2, 2023
@remcohaszing remcohaszing deleted the cjs-exports-default-types branch May 2, 2023 17:11
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

Successfully merging this pull request may close these issues.

2 participants