nats-hemera: Provides its own types (#39477)

* nats-hemera: Provides its own types

* fix library name

* fix typo
This commit is contained in:
Alexander T
2019-11-07 11:16:11 -08:00
committed by Nathan Shively-Sanders
parent 0855261c30
commit c5771441ea
5 changed files with 6 additions and 1167 deletions
+6
View File
@@ -2694,6 +2694,12 @@
"sourceRepoURL": "https://github.com/apache/couchdb-nano",
"asOfVersion": "7.0.0"
},
{
"libraryName": "nats-hemera",
"typingsPackageName": "nats-hemera",
"sourceRepoURL": "https://github.com/hemerajs/hemera",
"asOfVersion": "5.0.0"
},
{
"libraryName": "navigation",
"typingsPackageName": "navigation",
-1132
View File
File diff suppressed because it is too large Load Diff
-11
View File
@@ -1,11 +0,0 @@
import Hemera = require('nats-hemera');
const nats = {};
const hemera: any = new Hemera(nats, {});
hemera.ready(() => {
hemera.add({
topic: 'math',
cmd: 'add'
}, (req: any, cb: any) => {
});
});
-23
View File
@@ -1,23 +0,0 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"nats-hemera-tests.ts"
]
}
-1
View File
@@ -1 +0,0 @@
{ "extends": "dtslint/dt.json" }