mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-06-28 14:20:12 +00:00
npx dts-gen -m isstream --dt
This commit is contained in:
39
types/isstream/index.d.ts
vendored
Normal file
39
types/isstream/index.d.ts
vendored
Normal 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: {
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
0
types/isstream/isstream-tests.ts
Normal file
0
types/isstream/isstream-tests.ts
Normal file
22
types/isstream/tsconfig.json
Normal file
22
types/isstream/tsconfig.json
Normal 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"
|
||||
]
|
||||
}
|
||||
1
types/isstream/tslint.json
Normal file
1
types/isstream/tslint.json
Normal file
@@ -0,0 +1 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Reference in New Issue
Block a user