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 exactOptionalPropertyTypes, fix TypeScript 5.4 #565

Merged
merged 1 commit into from
Mar 24, 2024

Commits on Mar 22, 2024

  1. Fix exactOptionalPropertyTypes, fix TS 5.4

    sindresorhus#559 undid the fix in
    sindresorhus#543. Added
    `exactOptionalPropertyTypes` to `compilerOptions` to prevent this from
    happening again, seems pretty low-impact. It should be okay to pass
    `undefined` to `credentials` and other options, but this is an upstream
    problem (see `RequestInit` in `undici-types/fetch.d.ts`).
    
    The build was failing on TS 5.4 because there's a `priority` in
    `RequestInit` now.
    alecmev committed Mar 22, 2024
    Configuration menu
    Copy the full SHA
    2dd3eb7 View commit details
    Browse the repository at this point in the history