mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
fix test
This commit is contained in:
@@ -1,17 +1,10 @@
|
||||
import { Hemera } from 'nats-hemera';
|
||||
|
||||
const nats = {}
|
||||
|
||||
const nats = {};
|
||||
const hemera: any = new Hemera(nats, {});
|
||||
|
||||
|
||||
|
||||
hemera.ready(() => {
|
||||
|
||||
hemera.add({
|
||||
topic: 'math',
|
||||
cmd: 'add'
|
||||
}, function (req:any, cb: any) {
|
||||
//....
|
||||
})
|
||||
})
|
||||
}, (req: any, cb: any) => {
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user