Commit Graph

75 Commits

Author SHA1 Message Date
Andy
ae4fe7b6de Use "lib" in tsconfigs instead of "target". (#13968)
* Use "lib" in tsconfigs instead of "target".

Only add "dom" to libraries that need it. This is determined by a script, so many libraries that have "dom" maybe should not.

* Update new-package and readme

* Add back "target" where necessary
2017-01-18 07:51:51 -08:00
developermj
63b6af342f Adding update the 'auth' flag to allow for function that returns a string (#13638) 2016-12-30 09:36:03 -08:00
Andy Hanson
2e869dbdc0 Merge branch 'types-2.0' into merge_28dec 2016-12-28 12:38:06 -08:00
Søren Louv-Jansen
212a50f62c Add RequestOptions to Response object 2016-12-26 14:49:49 +01:00
Gabriel Zimmermann
a6f263d331 Adds delete method to request object. (#13121)
* Adds `delete` method to request object.

Request accepts both `request.del` and `request.delete`. The type definition is missing the latter.

* Adds entries in test file
2016-12-24 18:51:14 +09:00
Andy
a4bd9fa3c1 Add "noImplicitThis" to all tsconfig.json (#13446)
* Add "noImplicitThis" to all tsconfig.json

* Use `"noImplicitThis": false` on packages with broken tests.
2016-12-19 14:11:46 -08:00
Tiago Fernandes
798b8d017d Update index.d.ts (#12958)
Removed duplicated (qsStringifyOptions and qsParseOptions) properties in CoreOptions
2016-11-28 10:40:03 -08:00
Nathan Shively-Sanders
a10605cf90 Merge pull request #12839 from jdwilkin/types-2.0
manually updating types-2.0 with changes from master for request type
2016-11-26 09:06:11 -08:00
Nathan Shively-Sanders
983c93531a Merge branch 'types-2.0' into types-merge-20161118 2016-11-21 16:16:59 -08:00
jdwilkin
a8134cfd53 manually updating types-2.0 with changes from master for request type 2016-11-21 15:21:31 -06:00
Mine Yalcinalp Starks
253e456e3c Merge remote-tracking branch 'upstream/master' into types-2.0
Many badly resolved merge conflicts
2016-11-18 20:42:46 -08:00
jdwilkin
8797f32146 Update request.d.ts (#12731)
adding some missing valid options to type definitions relating to query string handling
2016-11-16 12:24:12 -08:00
Borek Bernard
dcaa0c94d8 url and uri options objects are now string | Url 2016-11-06 17:25:24 +01:00
Daniele Monteleone
92f1e73b1c Update request.d.ts
Use `string | null` for CoreOptions.encoding type as the encoding has to be null in order to get a buffer as the body (needed to download files). [see documentation](https://github.com/request/request#requestoptions-callback)
2016-10-18 21:01:27 +02:00
Ryan Cavanaugh
f55497c988 Merge remote-tracking branch 'upstream/master' into merge_7_25
# Conflicts:
#	convict/convict.d.ts
#	multer/multer.d.ts
#	nodemailer/nodemailer.d.ts
#	react-bootstrap-table/react-bootstrap-table.d.ts
#	react-dnd/react-dnd-tests.ts
#	react-native/index.d.ts
#	request/request.d.ts
#	restify/index.d.ts
#	webpack/webpack.d.ts
#	ws/ws.d.ts
2016-07-27 16:12:49 -07:00
Ryan Cavanaugh
b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -07:00
Ryan Cavanaugh
e4421f5ebe Merge commit 'upstream/master~650' into merge_7_25 2016-07-25 23:49:05 -07:00
Amin Cheloh
658d360c6a request: update project url 2016-07-26 09:09:08 +07:00
Leon Yu
8de2997128 Fix form-data for ES6 module (#9892) 2016-07-23 19:41:11 -07:00
Ryan Cavanaugh
a5f4d50ccc Fix tsconfig files for new option name / behavior.
Also fixes some inconsistent whitespace.
2016-07-12 13:54:56 -07:00
Raghav Katyal
395c4e1639 Turning on consistent casing flag and fixing failures 2016-06-30 15:14:49 -07:00
cjbarth
5f9cf2d84c Update Options.ca to use same type as NodeJs (#9399)
ca: A string, Buffer or array of strings or Buffers of trusted certificates in PEM format.
2016-05-24 22:53:46 +09:00
Ryan Cavanaugh
bfd400a8f8 Add noEmit to all config files 2016-05-10 12:24:49 -07:00
Ryan Cavanaugh
50387d4046 Change relative reference paths to types references. Errors incoming... 2016-05-09 18:06:27 -07:00
Ryan Cavanaugh
49b1ac6a38 Rename all entry points to index.d.ts and explicitify all file lists 2016-05-09 17:29:10 -07:00
Ryan Cavanaugh
ab2b4191c5 Add typesRoot to all config files 2016-05-09 13:52:25 -07:00
Ryan Cavanaugh
ded70421be Turn off strict null checks 2016-05-04 15:08:38 -07:00
Ryan Cavanaugh
69d1929d8a Add tsconfig.json files 2016-05-04 14:14:39 -07:00
Ryan Cavanaugh
fa204a87d1 Remove obsolesced reference comments 2016-04-27 21:53:46 -07:00
Ryan Cavanaugh
337587de8c Rename external modules to index.d.ts 2016-04-27 21:30:22 -07:00
Ryan Cavanaugh
e7c111c4b7 Merge remote-tracking branch 'upstream/master' into types2.0
Add tsconfig files everywhere

# Conflicts:
#	azure-mobile-services-client/AzureMobileServicesClient.d.ts
#	bookshelf/bookshelf.d.ts
#	hapi/hapi.d.ts
#	helmet/helmet.d.ts
#	mongodb/mongodb.d.ts
#	nock/nock.d.ts
#	react-bootstrap/react-bootstrap.d.ts
#	react-helmet/react-helmet.d.ts
#	restify/restify.d.ts
#	sequelize/sequelize.d.ts
2016-04-27 20:40:21 -07:00
Ryan Cavanaugh
4a433abbf4 Unwrap all lone ambient external modules 2016-04-22 14:12:45 -07:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
davidyaozw
8a1b587ca5 Update request-tests.ts
fix indent
2016-03-11 23:14:43 +08:00
davidyaozw
3a8543ff3d Update request.d.ts
import https module to fix ci failure
2016-03-11 21:46:50 +08:00
davidyaozw
9bbebb466d Update request.d.ts
fix according to review comment
2016-03-11 11:56:12 +08:00
eyaozhi
0a82566305 add agent parameter 2016-03-10 18:27:24 +08:00
Ilya Mochalov
abc2bcfb85 node: improved EventEmitter's definition with this-typing 2016-02-25 02:10:08 +05:00
Leo Liang
90c7b5653c Fix #7979, request.d.ts : Options union types 2016-02-06 11:07:09 +08:00
Christopher Currens
e252a08812 Add specialized overloads for request events 2016-01-25 21:05:34 -08:00
Norgerman
0b23833fb1 add useQuerystring into request.CoreOptions 2016-01-15 10:58:26 +08:00
Joe Skeen
c5c759ac6c some formatting changes 2015-11-13 09:50:55 -07:00
Joe Skeen
e3c46899aa Fix some fringe cases for specifying a default URL or URI 2015-11-13 09:23:20 -07:00
Rich Adams
7f14e4361c Adding optional uri/url optinos to interface returned by defaults 2015-11-06 16:11:50 -08:00
Rich Adams
f1a3678c78 Having defaults add the Optional uri and url to the TOptions aligns better with the pattern 2015-11-06 11:57:04 -08:00
Rich Adams
cb14917275 Merge branch 'upstream-master' into request-fix-defaults 2015-11-05 14:42:43 -08:00
Rich Adams
fe50f106b0 Adding DefaultsOptions that allows for optional uri and url when using the defaults function 2015-11-04 16:02:57 -08:00
Rich Adams
40f2f63de6 Adding baseUrl optional option that is optional 2015-11-04 16:02:17 -08:00
Rich Adams
8f233e8bc3 Fixing tabs, the folder originally had soft tabs 2015-11-04 16:01:37 -08:00
Joe Skeen
0d92319be4 Merge branch 'request-promise' of https://github.com/joeskeen/DefinitelyTyped; branch 'master' of https://github.com/borisyankov/DefinitelyTyped into request-promise
* 'request-promise' of https://github.com/joeskeen/DefinitelyTyped:

# By Ilya Mochalov (83) and others
# Via Masahiro Wakame (243) and others
* 'master' of https://github.com/borisyankov/DefinitelyTyped: (473 commits)
  provide the explicit types in geolocation-tests to make the build happy
  in ng-cordova files correct the conventions for multiple authors
  add the ngCordova type definitions for network,deviceOrientation,deviceMotion, appAvailability,geolocation,emailComposer and dialogs
  lodash: signatures of the method _.forEach have been changed
  lodash: signatures of the method _.some have been changed
  lodash: signatures of the method _.compact have been changed
  lodash: signatures of the method _.startsWith have been changed
  lodash: signatures of the method _.callback have been changed
  Add delegate and undelegate methods to View
  Updated net.connect, combined url.Url and url.UrlOptions.
  fix angularjs/angular-resource.d.ts
  Added definition for inline-css
  rename the folder from ngCordova to follow the convention similar to bower & npm
  lodash: signatures of the method _.map changed
  added missing declaration for optional dynamicHash property on DurandalRelativeRouteSettings to support TypeScript 1.6 tightened compilation rules
  lodash: signatures of the method _.padLeft have been changed
  lodash: signatures of the method _.snakeCase have been changed
  lodash: signatures of the method _.propertyOf have been changed
  lodash: signatures of the method _.parseInt have been changed
  lodash: signatures of the method _.matchesProperty have been changed
  ...

Conflicts:
	request-promise/request-promise.d.ts
	request/request.d.ts
2015-11-04 10:43:58 -07:00