mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-17 07:20:23 +00:00
Allow for method chaining in addListener/removeListener, on/once, and removeAllListeners. Fix return type for 'emit'. This patch mirrors the changes made to the API docs in this commit: https://github.com/joyent/node/commit/41cbdc5e64d090e0708dd2a63d4cd63000019bb1