scottcorgan / tiny-emitter

A tiny (less than 1k) event emitter library
MIT License
935 stars 67 forks source link

[TypeScript] Most complete with ES6 compatibility without changing source #31

Closed roblav96 closed 3 years ago

roblav96 commented 6 years ago

These are the most complete definitions with maximum compatibility, without changing the codebase.

Merge it :shipit: =]

scottcorgan commented 6 years ago

@roblav96 super happy you did this. Can you show me some screenshots of this working? Then I'd be happy to merge it 👍

jackturnbull commented 5 years ago

@scottcorgan I've hit the same issue and I came across this PR, would I be able to ask you to try and get this integrated? Screenshots of my before/after below.

Before (Typescript Import Error)

screen shot 2019-02-15 at 16 40 44

After (Clean)

screen shot 2019-02-15 at 16 39 28

Minor, but you may wish to run a lint on this pre/post merge due to whitespace being tabs.

OmgImAlexis commented 4 years ago

@roblav96 any chance you want to update this to work with the latest changes?

RZarifov commented 4 years ago

Greetings guys. Any updates? @roblav96 @scottcorgan