diff --git a/types/isstream/index.d.ts b/types/isstream/index.d.ts new file mode 100644 index 0000000000..2dd8731df1 --- /dev/null +++ b/types/isstream/index.d.ts @@ -0,0 +1,39 @@ +// Type definitions for isstream 0.1 +// Project: https://github.com/rvagg/isstream +// Definitions by: My Self +// 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: { + }; + + } + +} + diff --git a/types/isstream/isstream-tests.ts b/types/isstream/isstream-tests.ts new file mode 100644 index 0000000000..e69de29bb2 diff --git a/types/isstream/tsconfig.json b/types/isstream/tsconfig.json new file mode 100644 index 0000000000..ddea72dd3e --- /dev/null +++ b/types/isstream/tsconfig.json @@ -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" + ] +} diff --git a/types/isstream/tslint.json b/types/isstream/tslint.json new file mode 100644 index 0000000000..3db14f85ea --- /dev/null +++ b/types/isstream/tslint.json @@ -0,0 +1 @@ +{ "extends": "dtslint/dt.json" }