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

Update Options type parameter constraint for TS 4.7 #223

Merged

Commits on Apr 20, 2022

  1. Update Options type parameter constraint for TS 4.7

    Options's type parameter is passed to conf's Options type, which
    requires is constrained to `Record<string, any>`. Typescript 4.7 will
    properly check this constraint where it didn't before.
    
    Fixes sindresorhus#222
    
    Depends on fixes: sindresorhus/type-fest#388 and sindresorhus/conf#163
    sandersn committed Apr 20, 2022
    Configuration menu
    Copy the full SHA
    e9d9a66 View commit details
    Browse the repository at this point in the history