Kafka-node: no Admin class in typescript index.d.ts

Created on 6 Nov 2018  路  2Comments  路  Source: SOHU-Co/kafka-node

how can I use Admin in typescript

PRs Welcome

Most helpful comment

As a workaround you can do

const KafkaAdmin = require("kafka-node").Admin;

All 2 comments

As a workaround you can do

const KafkaAdmin = require("kafka-node").Admin;

As a workaround you can do

const KafkaAdmin = require("kafka-node").Admin;

Hi, could you guys add the definition? This doesn't work for me in Angular project for instance :(

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mmiller42 picture mmiller42  路  6Comments

aamitsharma2705 picture aamitsharma2705  路  4Comments

comrat picture comrat  路  5Comments

kameshwari-suresh picture kameshwari-suresh  路  3Comments

ghinks picture ghinks  路  6Comments