@types/duplexify
Advanced tools
Comparing version 3.6.0 to 3.6.1
// Type definitions for duplexify 3.6 | ||
// Project: https://github.com/mafintosh/duplexify | ||
// Definitions by: Sami Kukkonen <https://github.com/strax> | ||
// Jonathan Lui <https://github.com/kinwa91> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -6,0 +5,0 @@ /// <reference types="node" /> |
{ | ||
"name": "@types/duplexify", | ||
"version": "3.6.0", | ||
"version": "3.6.1", | ||
"description": "TypeScript definitions for duplexify", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/duplexify", | ||
"license": "MIT", | ||
@@ -11,14 +12,10 @@ "contributors": [ | ||
"githubUsername": "strax" | ||
}, | ||
{ | ||
"name": "Jonathan Lui", | ||
"url": "https://github.com/kinwa91", | ||
"githubUsername": "kinwa91" | ||
} | ||
], | ||
"main": "", | ||
"types": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/duplexify" | ||
}, | ||
@@ -29,4 +26,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "e27c36656d80abcaba3a5c91e1f87c63ff6c6281ba79561c149e8449d3326eb2", | ||
"typeScriptVersion": "2.0" | ||
"typesPublisherContentHash": "28995e6fda23bd818dd204c75cadac63984874ad6adfefd7bc6da05d81ac03fc", | ||
"typeScriptVersion": "3.8" | ||
} |
@@ -8,10 +8,39 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/duplexify | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/duplexify. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/duplexify/index.d.ts) | ||
````ts | ||
// Type definitions for duplexify 3.6 | ||
// Project: https://github.com/mafintosh/duplexify | ||
// Definitions by: Sami Kukkonen <https://github.com/strax> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
/// <reference types="node" /> | ||
Additional Details | ||
* Last updated: Mon, 05 Nov 2018 07:33:08 GMT | ||
* Dependencies: node | ||
import * as stream from "stream"; | ||
export = duplexify; | ||
interface DuplexifyConstructor { | ||
(writable?: stream.Writable, readable?: stream.Readable, streamOptions?: stream.DuplexOptions): duplexify.Duplexify; | ||
new (writable?: stream.Writable, readable?: stream.Readable, streamOptions?: stream.DuplexOptions): duplexify.Duplexify; | ||
obj(writable?: stream.Writable, readable?: stream.Readable, streamOptions?: stream.DuplexOptions): duplexify.Duplexify; | ||
} | ||
declare var duplexify: DuplexifyConstructor; | ||
declare namespace duplexify { | ||
interface Duplexify extends stream.Duplex { | ||
cork(): void; | ||
uncork(): void; | ||
setWritable(writable: stream.Writable): void; | ||
setReadable(readable: stream.Readable): void; | ||
} | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Thu, 23 Dec 2021 23:34:31 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Sami Kukkonen <https://github.com/strax>, Jonathan Lui <https://github.com/kinwa91>. | ||
These definitions were written by [Sami Kukkonen](https://github.com/strax). |
Sorry, the diff of this file is not supported yet
4609
46
21