mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-03 05:02:48 +00:00
key is not a number, it's a string. See KeyedMessage constructor, above. (However, if `encoding` is specified as "buffer" in ConsumerOptions then `key` and `value` are actually `Buffer` rather than `string`. I'm not sure if it's possible to specify this better than `string|Buffer` since it may not be knowable at compile time.) |
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| kafka-node-tests.ts | ||
| tsconfig.json | ||
| tslint.json | ||