DefinitelyTyped/types/restify
Daniel Cassidy f06067665b [restify] Correct and tighten type declarations. (#19909)
* 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.
2017-09-25 12:15:45 -07:00
..
v4
index.d.ts [restify] Correct and tighten type declarations. (#19909) 2017-09-25 12:15:45 -07:00
restify-tests.ts [restify] Correct and tighten type declarations. (#19909) 2017-09-25 12:15:45 -07:00
tsconfig.json
tslint.json Fix restify declarations to comply with standard lint rules. 2017-09-19 02:36:21 +01:00