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

Make the Opaque type stricter #71

Merged
merged 6 commits into from
Jan 31, 2020
Merged

Make the Opaque type stricter #71

merged 6 commits into from
Jan 31, 2020

Commits on Jan 19, 2020

  1. Implement stronger opaque types

    This commit adds a Token parameter to the Opaque types, allowing them to be
    fundamentally unique. This means an oaque type cannot be cast to a separate
    opaque type. The previous (flawed) design allowed this. This does not.
    Will Hoskings committed Jan 19, 2020
    Configuration menu
    Copy the full SHA
    d84cb44 View commit details
    Browse the repository at this point in the history
  2. Fix linting errors

    Will Hoskings committed Jan 19, 2020
    Configuration menu
    Copy the full SHA
    5460a01 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2020

  1. Fix some silly typos

    Will Hoskings committed Jan 20, 2020
    Configuration menu
    Copy the full SHA
    b66165e View commit details
    Browse the repository at this point in the history

Commits on Jan 30, 2020

  1. Add example for recursive types

    Will Hoskings committed Jan 30, 2020
    Configuration menu
    Copy the full SHA
    2eb40e8 View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2020

  1. Update opaque.d.ts

    sindresorhus committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    9f5ed77 View commit details
    Browse the repository at this point in the history
  2. Update opaque.ts

    sindresorhus committed Jan 31, 2020
    Configuration menu
    Copy the full SHA
    47deebd View commit details
    Browse the repository at this point in the history