Closed GoFightNguyen closed 1 year ago
In addition, we are experiencing the same tsc
error for off()
, which is used in the afterEach()
Yes you are correct. You can see those in the monologue.js
file. The current index.d.ts
was graciously provided by another user but it likely was they were not using that functionality. Feel free to make a PR for this and we can get it merged in. There is another change that also needs to get release soon so now is a good time for this to get in @GoFightNguyen
For history, monologue.js
is in reference to node-monologue
@zlintz Any idea when/if a release will be made soon?
Thanks for checking, I just released foo-foo-mq@8.0.1
for you
foo-foo-mq
version: 8.0.0typescript
version: 4.4.4We have unit tests asserting that our code correctly handles events raised by
foo-foo-mq
. here is an exampleThe problem is that
tsc
fails witherror TS2339: Property 'emit' does not exist on type 'typeof Broker'.
Should
emit
be added to theBroker
type/namespace? Or is there a better way to simulate afoo-foo-mq
event?