Environment Information
- OS Mac:
- Node lts/jod:
- NPM 11x
- confluent-kafka-javascript version 1.9.0:
Steps to Reproduce
Create an empty TS project referencing both libs as dependencies.
"@confluentinc/kafka-javascript": "1.9.0",
"@confluentinc/schemaregistry": "1.9.0",
Without setting "skipLibCheck": true we get the following error:
node_modules/@confluentinc/schemaregistry/dist/serde/avro.d.ts:6:26 - error TS2307: Cannot find module '../../types/kafkajs' or its corresponding type declarations.
6 import { IHeaders } from "../../types/kafkajs";
~~~~~~~~~~~~~~~~~~~~~
@confluentinc/schemaregistry serdes reference the IHeaders types from the root and this is not resolved during the build process.
Environment Information
Steps to Reproduce
Create an empty TS project referencing both libs as dependencies.
Without setting
"skipLibCheck": truewe get the following error:@confluentinc/schemaregistry serdes reference the IHeaders types from the root and this is not resolved during the build process.