mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Remove spurious exports. restify does not export the constructors for Server or Router. * Correct type of 'bunyan' export. I'm not sure where the previous definitions came from, but they definitely do not match restify 5.0.1. restify.bunyan is not callable. It is a namespace that contains various helper functions and objects relating to logging with bunyan. * Specify stricter types for ServerOptions. `ca`, `certificate` and `key` are passed through to as the corresponding options to https.createServer(). `spdy` is passed through to spdy.createServer(). * Correct type signature for formatters. |
||
|---|---|---|
| .. | ||
| v4 | ||
| index.d.ts | ||
| restify-tests.ts | ||
| tsconfig.json | ||
| tslint.json | ||