mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-29 09:55:50 +08:00
18 lines
541 B
TypeScript
18 lines
541 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/borisyankov/DefinitelyTyped
|
|
|
|
/// <reference path="../node/node.d.ts" />
|
|
/// <reference path="../bunyan/bunyan.d.ts" />
|
|
|
|
declare module "bunyan-logentries" {
|
|
import bunyan = require("bunyan");
|
|
|
|
interface StreamOptions {
|
|
token: string;
|
|
}
|
|
|
|
export function createStream(options: StreamOptions): NodeJS.WritableStream;
|
|
}
|