DefinitelyTyped/types/bunyan-logentries/index.d.ts

16 lines
474 B
TypeScript

// Type definitions for node-bunyan-logentries v0.1.0
// Project: https://github.com/nemtsov/node-bunyan-logentries
// Definitions by: Aymeric Beaumet <http://aymericbeaumet.me>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.1
/// <reference types="node" />
import bunyan = require("bunyan");
interface StreamOptions {
token: string;
}
export declare function createStream(options: StreamOptions): NodeJS.WritableStream;