Open belizwp opened 3 years ago
i have pushed a fix to it in release v1.2.2 Thank you !
This issue still exists, the file is "empty" on npmjs.org and when I try it locally, both are version 1.2.3
A workaround is to exclude "src/protos" in the tsconfig.json and using this as a build command for example: tsc && cp src/protos/kubemq_* lib/protos
@kubemq could you please reopen this? This unfortunately makes the library completely unusable in Typescript
We will into that
I got this error when try to using the lib.
node_modules/kubemq-js/lib/queues.d.ts:256:84 - error TS2694: Namespace '"$HOME/my-app/node_modules/kubemq-js/lib/protos/index"' has no exported member 'StreamQueueMessagesResponse'.
then I found this file may cause it. which contain nothing but empty export.
seem like
src/protos/kubemq_pb.d.ts
does not included when you're building to lib.