mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 15:27:05 +00:00
nats-hemera: Provides its own types (#39477)
* nats-hemera: Provides its own types * fix library name * fix typo
This commit is contained in:
committed by
Nathan Shively-Sanders
parent
0855261c30
commit
c5771441ea
@@ -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",
|
||||
|
||||
Vendored
-1132
File diff suppressed because it is too large
Load Diff
@@ -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) => {
|
||||
});
|
||||
});
|
||||
@@ -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 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user