mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Previously, only KafkaClient (subclass) had signatures for `on()`. However, Client and KafkaClient emit many of the same events. - See https://github.com/SOHU-Co/kafka-node/blob/master/lib/client.js and https://github.com/SOHU-Co/kafka-node/blob/master/lib/kafkaClient.js (Search for the string `emit(`) zkReconnect is exclusive to Client, and socket_connect is exclusive to KafkaClient. TypeScript's type checker warns if I put on() declarations in KafkaClient. (Haven't tried duplicating.) |
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| kafka-node-tests.ts | ||
| tsconfig.json | ||
| tslint.json | ||