mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Merge pull request #3784 from jasonswearingen/master
add bunyan-prettystream definition.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
/// <reference path="bunyan-prettystream.d.ts" />
|
||||
|
||||
import PrettyStream = require("bunyan-prettystream");
|
||||
var stream = new PrettyStream();
|
||||
+14
@@ -0,0 +1,14 @@
|
||||
// Type definitions for bunyan-prettystream
|
||||
// Project: https://www.npmjs.com/package/bunyan-prettystream
|
||||
// Definitions by: Jason Swearingen <https://github.com/jasonswearingen/>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../node/node.d.ts" />
|
||||
|
||||
declare module "bunyan-prettystream" {
|
||||
import stream = require("stream");
|
||||
class PrettyStream extends stream.Writable {
|
||||
public pipe<T extends NodeJS.WritableStream>(destination: T, options?: { end?: boolean; }): T;
|
||||
}
|
||||
export = PrettyStream;
|
||||
}
|
||||
Reference in New Issue
Block a user