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: fix TypeScript type definitions for commonjs #5196

Merged
merged 5 commits into from Nov 10, 2022

Commits on Nov 1, 2022

  1. fix: fix TypeScript type definitions for commonjs

    This is done by duplicating `index.d.ts` into `index.d.cts`, and
    modifying it for CommonJS. The same was done for type tests.
    
    Unfortunately I was unable to find a way to re-use types without
    drastically changing the code base.
    
    To test this, a minimum TypeScript version of 4.7 is needed, so it has
    been updated. The old types still work with older TypeScript versions.
    remcohaszing committed Nov 1, 2022
    Copy the full SHA
    e240786 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2022

  1. Copy the full SHA
    c90d34d View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2022

  1. Copy the full SHA
    c8afa04 View commit details
    Browse the repository at this point in the history

Commits on Nov 8, 2022

  1. Copy the full SHA
    c424cd2 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2022

  1. Copy the full SHA
    6e61006 View commit details
    Browse the repository at this point in the history