@types/get-stream
Advanced tools
Comparing version 3.0.0 to 3.0.1
// Type definitions for get-stream 3.0 | ||
// Project: https://github.com/sindresorhus/get-stream#readme | ||
// Definitions by: Douglas Duteil <https://github.com/douglasduteil> | ||
// BendingBender <https://github.com/BendingBender> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -8,3 +9,3 @@ | ||
import {Stream} from 'stream'; | ||
import { Stream } from 'stream'; | ||
@@ -16,3 +17,3 @@ interface Options { | ||
*/ | ||
encoding?: string; | ||
encoding?: BufferEncoding | 'buffer'; | ||
/** | ||
@@ -32,4 +33,4 @@ * Maximum length of the returned string. If it exceeds this value before | ||
*/ | ||
declare function getStrem(stream: Stream, options?: Options): Promise<string>; | ||
declare namespace getStrem { | ||
declare function getStream(stream: Stream, options?: Options): Promise<string>; | ||
declare namespace getStream { | ||
/** | ||
@@ -64,2 +65,2 @@ * Get the `stream` as an array of values. | ||
export = getStrem; | ||
export = getStream; |
{ | ||
"name": "@types/get-stream", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "TypeScript definitions for get-stream", | ||
@@ -10,2 +10,6 @@ "license": "MIT", | ||
"url": "https://github.com/douglasduteil" | ||
}, | ||
{ | ||
"name": "BendingBender", | ||
"url": "https://github.com/BendingBender" | ||
} | ||
@@ -23,4 +27,4 @@ ], | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "e42088ce8d6206d83b944651d1a9412fd58ac8824941397422582d600aeea1fc", | ||
"typesPublisherContentHash": "fff2db1252da9ddb6a85c9cdf6f69844e20eb554376cd72879392f216daf573b", | ||
"typeScriptVersion": "2.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 05 Jun 2017 19:55:52 GMT | ||
* Last updated: Mon, 24 Jul 2017 18:25:51 GMT | ||
* Dependencies: stream, node | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Douglas Duteil <https://github.com/douglasduteil>. | ||
These definitions were written by Douglas Duteil <https://github.com/douglasduteil>, BendingBender <https://github.com/BendingBender>. |
4764
56