Repository navigation
Conversation
|
@thakerng why do you not modify eventemitter2/eventemitter2.d.ts directly? what's different do it have? |
|
I think this modification will be resolved in tsd registry |
|
Guys, what about merging this patch? The issue is very simple, to require EventEmitter2 one will write: We can all agree the now But, the definition file is doing something wrong, it does The compiler now thinks the class is in To workaround that a patch is required: Also, note that in the definition file there is a private class defined (EventEmitter2). |
|
Hello and thank you for your contribution! Due to an excessively long queue of pull requests that have become stale, we are "declaring bankruptcy" and closing all PRs opened before May 1, 2016. If you'd still like to merge this code in, please open a new PR that has been merged and rebased with the Going forward, we are committing to review or merge all PRs on a regular basis so this bankruptcy will not occur again. We apologize for the incovenience and hope you will continue to contribute to DefinitelyTyped in the future. Thanks |
Traditional
eventemitter2.d.tshas problem with webpack because it emits EventEmitter directly not exports.EventEmitter2