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

Add Exact type #259

Merged
merged 11 commits into from
May 24, 2022
Merged

Add Exact type #259

merged 11 commits into from
May 24, 2022

Commits on Mar 7, 2022

  1. feat(Exact): add Exact type

    Exact creates a type from type A and B and changes keys exclusive to type B to `never`.
    
    This is useful for function type-guarding to reject arguments with excess
    zorji committed Mar 7, 2022
    Configuration menu
    Copy the full SHA
    563e785 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2022

  1. Update exact.d.ts

    sindresorhus committed Mar 19, 2022
    Configuration menu
    Copy the full SHA
    3568ad7 View commit details
    Browse the repository at this point in the history
  2. Update internal.d.ts

    sindresorhus committed Mar 19, 2022
    Configuration menu
    Copy the full SHA
    cb77335 View commit details
    Browse the repository at this point in the history
  3. Update exact.d.ts

    sindresorhus committed Mar 19, 2022
    Configuration menu
    Copy the full SHA
    0efeae3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    27d4303 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    902d046 View commit details
    Browse the repository at this point in the history

Commits on May 24, 2022

  1. Update readme.md

    sindresorhus committed May 24, 2022
    Configuration menu
    Copy the full SHA
    f5174a3 View commit details
    Browse the repository at this point in the history
  2. Update exact.d.ts

    sindresorhus committed May 24, 2022
    Configuration menu
    Copy the full SHA
    8c90d29 View commit details
    Browse the repository at this point in the history
  3. Update exact.ts

    sindresorhus committed May 24, 2022
    Configuration menu
    Copy the full SHA
    d3172f5 View commit details
    Browse the repository at this point in the history
  4. Update internal.d.ts

    sindresorhus committed May 24, 2022
    Configuration menu
    Copy the full SHA
    926c9a8 View commit details
    Browse the repository at this point in the history
  5. Update exact.d.ts

    sindresorhus committed May 24, 2022
    Configuration menu
    Copy the full SHA
    2ed6d19 View commit details
    Browse the repository at this point in the history