UNPKG

declarations

Version:

[![npm version](https://badge.fury.io/js/declarations.svg)](https://www.npmjs.com/package/declarations)

18 lines (13 loc) 545 B
// 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 /// <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; }