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

Move the strongly-typed Typed types into the main types #69

Merged
merged 12 commits into from
Dec 28, 2020

Commits on Nov 29, 2020

  1. Remove separate Typed type and just type the Emittery class with loos…

    …e defaults
    
    I think the extra type is unnecessary, and it's easier to maintain only one of them!
    
    Fixes sindresorhus#67
    airhorns committed Nov 29, 2020
    Configuration menu
    Copy the full SHA
    cc83ca7 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2020

  1. Rework TypeScript types for the EventEmitter to use just one provided…

    … list of event names to event data for simplicity.
    airhorns committed Dec 20, 2020
    Configuration menu
    Copy the full SHA
    4bd12d6 View commit details
    Browse the repository at this point in the history

Commits on Dec 21, 2020

  1. Update readme.md

    sindresorhus authored Dec 21, 2020
    Configuration menu
    Copy the full SHA
    d6ad6c4 View commit details
    Browse the repository at this point in the history
  2. Update index.d.ts

    sindresorhus authored Dec 21, 2020
    Configuration menu
    Copy the full SHA
    3b7fcc5 View commit details
    Browse the repository at this point in the history
  3. Update index.test-d.ts

    sindresorhus authored Dec 21, 2020
    Configuration menu
    Copy the full SHA
    3240ec0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    34a64f2 View commit details
    Browse the repository at this point in the history

Commits on Dec 22, 2020

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

Commits on Dec 28, 2020

  1. Remove .Typed subclass from the actual JS since types are available o…

    …n the main Emittery class now
    airhorns committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    8d03436 View commit details
    Browse the repository at this point in the history
  2. Add type tests for listeners and event streams

    And ensure they deal with events that don't have data just fine!
    airhorns committed Dec 28, 2020
    Configuration menu
    Copy the full SHA
    809522a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    6c9b62b View commit details
    Browse the repository at this point in the history
  4. Update package.json

    sindresorhus authored Dec 28, 2020
    Configuration menu
    Copy the full SHA
    48ea6ca View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    dd3e6f0 View commit details
    Browse the repository at this point in the history