Commit Graph

24 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
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
Rogier Schouten
6980db6a37 Improve typings for form-data 2016-11-15 14:47:30 +01:00
Andy
b06c56b70b Update "node-fetch" typings (#11834)
* Update "node-fetch" typings

Convert to external module and remove `namespace _fetch`

* Fix test

* Don't need patch version
2016-10-20 08:47:19 -07:00
Ryan Cavanaugh
b488f3cb5f Merge remote-tracking branch 'upstream/master' into merge_7_25 2016-07-27 10:57:46 -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
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
541e24b685 Fix angularjs/angular; 'export declare'/'declare export' 2016-04-25 13:02:25 -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
Roman Salnikov
bb1b99052b Add submit method definition to form-data
This method is currently missing. Here is just a basic interface to pass type checks. If you'd help me figure out how to depend on Node TSD, I'd try to make signature more correct, and return http or https response instead of just `any`. Also planning to add `params` object interface.
2015-08-26 11:07:48 +05:00
Roman Salnikov
b295fa645f Add options parameter to form-data append method
The `append` method in `form-data` library optionally supports the third parameter, `options`. (https://github.com/form-data/node-form-data/blob/master/lib/form_data.js#L24). It can be a string or an object, so `any` type is most suitable for it.
2015-07-28 17:31:23 +05:00
vvakame
822663f076 fix invalid library names 2014-11-05 14:39:41 +09:00
Bart van der Schoor
09f3d7a8dc imported 25 definitions from typescript-node-definitions
first batch: the easy pickings

- as per https://github.com/borisyankov/DefinitelyTyped/issues/115
- added DT headers (scraped creators from git history)
- added tests
- some modifications
- added CONTRIBUTORS.md for the substantial defs (>50 LOC)
2014-04-22 22:09:35 +02:00