James Trinklein 53c667d1a5 Update restify typings (#9379)
* restify: update Request, fix id type

change id from string property to function returning string
add getId() alias
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L214

* restify: update Request, add getPath()

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L234

* restify: update Request, fix query type

define query as function returning a string
add getQuery() alias
include JSDoc from source:
https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L247

* restify: update Request, fix time type

change time from number property to function returning number
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L262

* restify: update Request, add getUrl

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L273

* restify: update Request, add getVersion

getVersion is a function that returns a string
add version() alias
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L288

* restify: update Request, fix header type

change header return type from any to string
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L316

* restify: update Request, add trailer

trailer is a function that returns a string
trailer requires a string parameter called name
trailer optionally takes a second string parameter for default value

include JSDoc from source:
https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L338

* restify: update Request, add JSDoc

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L359

* restify: update Request, add isChunked

isChunked is a function that returns a boolean
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L394

* restify: update Request, add isKeepAlive

isKeepAlive is a function that returns a boolean
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L405

* restify: update Request, add JSDoc for isSecure

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L426

* restify: update Request, add isUpgradeRequest

isUpgradeRequest is a function that returns a boolean
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L442

* restify: update Request, add isUpload

isUpload is a function that returns a boolean
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L457

* restify: update Request, add userAgent

userAgent is a function that returns a boolean
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L494

* restify: update Request, add start/endHandlerTimer

startHandlerTimer is a function that takes a string
endHandlerTimer is a function that takes a string

include JSDoc from source:
https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L505

* restify: update Request, add absoluteUri

absoluteUri is a function that takes a string and returns a string
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L52

* restify: update Request, fix accepts

accepts can take a parameter of either string or array of strings
include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L68

* restify: update Request, add acceptsEncoding

acceptsEncoding is a function that returns a boolean
acceptsEncoding can take a parameter of either string or array of strings

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L96

* restify: update Request, fix contentLength

add getContentLength which is a function which returns a number
contentLength is an alias for getContentLength function

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L116

* restify: update Request, fix contentType

add getContentType which is a function which returns a string
contentType is an alias for getContentType function

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L152

* restify: update Request, add getHref

getHref is a function which returns a string
href is an alias to getHref

include JSDoc from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L202

* restify: update Request, add timers

timers is an array of handler timer objects
a handler timer object contains a string name and tuple of numbers representing the elapsed time
this is the only way to access times from start/endHandlerTimer()
from source: https://github.com/restify/node-restify/blob/5.x/lib/request.js\#L557

* restify: update RouteSpec, fix path

path can be either a string or RegExp
also shown in RouteOptions.path
2016-06-02 23:52:47 +09:00
…
2016-03-26 01:47:55 -07:00
2016-03-17 15:13:35 +00:00
2016-06-02 21:55:22 +09:00
2016-03-18 07:25:08 -07:00
2016-05-23 13:00:18 +09:00
2016-02-20 03:15:34 -05:00
2016-06-02 21:45:30 +09:00
2016-02-29 15:19:45 -08:00
2016-05-21 08:15:52 -07:00
2016-02-15 07:09:27 -03:00
2016-01-17 14:05:25 +01:00
2016-04-03 17:28:02 +03:00
2016-03-09 16:07:06 -08:00
…
2016-05-15 02:19:29 +09:00
2016-05-10 00:36:07 +09:00
2016-04-13 02:06:55 +09:00
2016-03-18 13:37:27 +05:30
2016-05-21 08:19:17 -07:00
2016-03-27 16:16:27 +03:00
2016-04-13 00:50:34 +09:00
2016-05-24 23:00:38 +09:00
2016-05-23 13:09:47 +09:00
2016-02-16 13:32:52 +10:30
2016-03-15 17:23:30 -04:00
2016-03-22 12:58:42 +09:00
2016-04-13 00:15:57 +09:00
2016-04-03 14:44:05 +02:00
2016-03-27 01:48:20 +01:00
2016-03-30 20:47:41 -07:00
2016-04-13 00:38:22 +09:00
2016-03-28 09:28:02 -05:00
2016-04-14 21:44:51 +09:00
2016-05-06 03:12:02 +09:00
2016-04-23 23:53:25 +09:00
2016-05-24 22:50:36 +09:00
2016-04-18 00:18:47 +09:00
2016-02-23 17:56:02 +01:00
2016-03-17 02:18:10 +09:00
2016-06-02 21:43:58 +09:00
2016-05-02 00:53:03 +09:00
2016-05-21 08:26:53 -07:00
2016-02-10 18:08:29 +09:00
2016-03-17 02:18:10 +09:00
2016-04-13 00:34:44 +09:00
2016-03-28 22:43:14 +02:00
2016-05-26 23:22:13 +09:00
2016-03-14 18:48:30 -07:00
2016-04-14 21:44:59 +09:00
2016-05-26 22:38:10 +09:00
2016-04-23 16:43:36 +09:00
2016-04-01 15:34:54 +08:00
2016-06-02 23:21:27 +09:00
2016-05-26 23:23:49 +09:00
…
2016-05-15 02:48:53 +09:00
2016-01-25 21:42:09 +02:00
2016-02-17 15:35:51 +00:00
2016-04-04 15:58:07 +01:00
2016-03-27 14:00:36 +02:00
2016-04-06 21:07:32 +09:00
2016-05-23 17:27:55 -07:00
2016-02-09 17:08:23 +01:00
2016-03-23 20:59:18 +01:00
2016-02-06 15:45:06 +01:00
2016-03-16 22:28:45 -07:00
2016-04-17 22:05:59 +09:00
2016-03-22 03:12:47 +02:00
2016-01-30 19:56:32 +01:00
2016-03-20 01:43:54 +09:00
2016-04-04 13:45:53 +02:00
2016-05-15 00:03:34 +09:00
2016-03-22 00:33:08 +01:00
2016-04-14 21:44:59 +09:00
2016-03-17 17:26:29 +08:00
2016-01-29 22:39:29 +09:00
2016-02-16 01:20:30 +09:00
2016-04-03 17:21:19 +03:00
2016-02-04 07:43:04 -08:00
2016-05-24 22:52:21 +09:00
2016-04-26 00:45:01 +09:00
2016-04-13 00:03:52 +09:00
2016-05-15 02:12:32 +09:00
2016-06-02 23:52:47 +09:00
2016-05-26 22:36:10 +09:00
2016-04-13 00:51:40 +09:00
2016-03-17 02:18:10 +09:00
2016-05-01 23:17:34 +09:00
2016-05-21 08:25:56 -07:00
2016-02-23 13:46:46 +01:00
2016-05-12 13:58:19 +09:00
2016-01-15 11:53:31 +08:00
2016-05-12 13:48:50 +09:00
…
2016-03-21 16:52:08 +09:00
2016-05-16 23:56:40 -07:00
2016-05-09 17:32:18 +09:00
2016-04-25 23:54:06 +09:00
2016-04-18 00:56:58 +09:00
…
2016-05-15 02:06:50 +09:00
2016-05-10 11:04:35 +10:00
2016-05-06 03:59:22 +09:00
2016-02-01 16:25:42 +08:00
2016-03-24 00:17:44 +09:00
2016-04-26 00:51:34 +09:00
2016-04-23 23:32:48 +09:00
2016-03-28 18:07:11 +03:00
2016-03-17 02:18:10 +09:00
2016-04-03 00:57:50 +03:00
2016-04-18 00:30:52 +09:00
2016-05-06 02:02:41 +09:00
2016-01-27 19:56:25 +09:00
2016-05-10 00:33:44 +09:00
2016-03-12 09:13:02 -08:00
2016-04-06 20:56:36 +09:00
2016-05-26 22:45:38 +09:00
2016-01-29 13:37:41 -05:00
2016-02-16 01:20:30 +09:00
2016-02-27 11:45:39 +09:00
…
2016-03-12 22:14:11 +09:00
2016-03-12 22:14:11 +09:00

DefinitelyTyped Build Status

Join the chat at https://gitter.im/borisyankov/DefinitelyTyped

The repository for high quality TypeScript type definitions.

For more information see the definitelytyped.org website.

Usage

Include a line like this:

/// <reference path="jquery.d.ts" />

Contributions

DefinitelyTyped only works because of contributions by users like you!

Please see the contribution guide on how to contribute to DefinitelyTyped.

How to get the definitions

List of definitions

Requested definitions

Here is are the currently requested definitions.

License

This project is licensed under the MIT license.

Copyrights on the definition files are respective of each contributor listed at the beginning of each definition file.

Analytics

S
Description
No description provided
Readme MIT
395 MiB
Languages
TypeScript 100%