diff --git a/restify/restify.d.ts b/restify/restify.d.ts index 38a43f0dd4..f1cc9766a0 100644 --- a/restify/restify.d.ts +++ b/restify/restify.d.ts @@ -4,10 +4,11 @@ // Definitions: https://github.com/borisyankov/DefinitelyTyped /// - +/// declare module "restify" { import http = require('http'); + import bunyan = require('bunyan'); interface addressInterface { @@ -24,7 +25,7 @@ declare module "restify" { contentLength: number; contentType: string; href: () => string; - log: Object; + log: bunyan.Logger; id: string; path: () => string; query: any; @@ -210,7 +211,7 @@ declare module "restify" { export function fullResponse(): RequestHandler; export var defaultResponseHeaders : any; export var CORS: CORS; - + export module pre { export function pause(): RequestHandler; export function sanitizePath(options?: any): RequestHandler;