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

Generate separate type declarations for CommonJS. #11

Merged
merged 1 commit into from
Apr 18, 2024

Commits on Nov 25, 2023

  1. Generate separate type declarations for CommonJS.

    Although these are identical to the type declarations
    for ESM, it is necessary to generate separate type
    declarations for CommonJS for compatibility with
    TypeScript's Node16/NodeNext module resolution modes.
    
    See microsoft/TypeScript#56529
    
    See https://arethetypeswrong.github.io/?p=unknown%400.2.5
    
    See https://github.com/arethetypeswrong/arethetypeswrong.github.io/blob/main/docs/problems/FalseESM.md
    djcsdy committed Nov 25, 2023
    Configuration menu
    Copy the full SHA
    af25841 View commit details
    Browse the repository at this point in the history