npx dts-gen -m isstream --dt

This commit is contained in:
Claas Ahlrichs
2019-04-07 11:43:19 +02:00
parent 6bf5c23861
commit 2da4cb15f8
4 changed files with 62 additions and 0 deletions

39
types/isstream/index.d.ts vendored Normal file
View File

@@ -0,0 +1,39 @@
// Type definitions for isstream 0.1
// Project: https://github.com/rvagg/isstream
// Definitions by: My Self <https://github.com/me>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export = isstream;
declare function isstream(obj: any): any;
declare namespace isstream {
const prototype: {
};
function isDuplex(obj: any): any;
function isReadable(obj: any): any;
function isWritable(obj: any): any;
namespace isDuplex {
const prototype: {
};
}
namespace isReadable {
const prototype: {
};
}
namespace isWritable {
const prototype: {
};
}
}

View File

View File

@@ -0,0 +1,22 @@
{
"compilerOptions": {
"module": "commonjs",
"lib": [
"es6"
],
"noImplicitAny": true,
"noImplicitThis": true,
"strictNullChecks": true,
"baseUrl": "../",
"typeRoots": [
"../"
],
"types": [],
"noEmit": true,
"forceConsistentCasingInFileNames": true
},
"files": [
"index.d.ts",
"isstream-tests.ts"
]
}

View File

@@ -0,0 +1 @@
{ "extends": "dtslint/dt.json" }