Commit Graph
23 Commits
Author SHA1 Message Date
Daniel Cassidy a07ced9a79 Fix restify declarations to comply with standard lint rules.
This change requires TypeScript 2.2 because the type
'object' did not exist in 2.1.
2017-09-19 02:36:21 +01:00
Niklas Mollenhauer bc54a53ac5 Use inherited writeHead method signature
The `writeHead` method gets passed through to the native `response.writeHead`. The `Response` interface extends `http.ServerResponse` which defined the `writeHead` method with different arguments. For maintainability reasons, we should just use the inherited method. Also, the current definition makes this method useless (`writeHead` expects at lease one argument).
2017-09-04 22:30:23 +02:00
AndyandGitHub cb2dbfbb50 Add ignores for new lint rules (#19504) 2017-09-01 07:47:52 -07:00
Mine StarksandGitHub ed8dad43c5 Merge pull request #18626 from stevehipwell/update-restify
Update Restify server interface
2017-08-30 12:47:20 -07:00
AndyandGitHub 924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
AndyandGitHub 5d6c651a1a Apply stricter lint rules (#19063) 2017-08-17 14:53:41 -07:00
Steve Hipwell 111e622626 Update restify server interface 2017-08-04 13:49:34 +01:00
RenjithandAndy 18747a4fce [restify 5] Fix definition for AuditLogger and RouteOptions (#18036)
* Fix definition for AuditLoggerOptions and RouteOptions

* Beautify

* Fix test cases
2017-07-17 11:12:33 -07:00
Steve Hipwell dfc73442c3 Fix restify v4 type root 2017-07-07 10:04:22 +01:00
Steve Hipwell 2fde3abd6c Updated resitfy v4 type roots 2017-07-07 09:58:52 +01:00
Steve Hipwell 16e0dff475 Added restify v4 types folder 2017-07-07 09:04:03 +01:00
Steve Hipwell c3a65c78e2 Remove restify require 2017-07-05 12:11:12 +01:00
Steve Hipwell 57c8843b6d Fix lint errors 2017-07-05 12:02:55 +01:00
Steve Hipwell b106b41802 Fix linting issues 2017-07-05 11:51:47 +01:00
Steve Hipwell 9a3dd52efa Update restify to v5 2017-07-05 11:37:14 +01:00
AndyandMohamed Hegazy 90ccae007e restify: Fix error in typescript@next (#17061) 2017-06-08 15:13:41 -07:00
Steve HipwellandAndy 9bdf41ae8c Update restify-errors typings to support defined errors (#16382)
* Update restify-errors to correctly type predefined

* Fixed linting errors

* Fixed linting issue

* Fixed defined types for restify-errors

* Fixed restify-errors tests

* Updated restify-errors ts version

* Update correct definition

* Remove unwanted file
2017-06-01 08:34:24 -07:00
Vinicius FortunaandGitHub e5ce007af5 Hide static fields and make CORS a pure function 2017-05-18 09:26:36 -04:00
Vinicius Fortuna 580597113e Add test for restify.CORS() 2017-05-14 21:26:11 -04:00
Vinicius Fortuna 43fd13d225 Make CORS a variable again
This fixes the 'Property 'CORS' does not exist' problem.
2017-05-14 17:41:23 -04:00
Mohamed HegazyandGitHub e564537f7f Fix lint failures (#16329)
* fix lint failures

* Fix more lint failures

* Fix some more lint errors
2017-05-04 15:31:42 -07:00
Steve HipwellandMohamed Hegazy 2c0494ee20 Updated restify to lint correctly (#16274)
* Updated restify to lint correctly

* Updated restify request query

* Fixed restify tests error
2017-05-03 10:55:19 -07:00
Andy Hanson 354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00