Commit Graph

84 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
Federico Caselli
deb4e610b7 Changed type in ObjectID.isValid (#13827) 2017-01-07 05:44:26 -08:00
Andy
2f71174636 Restructure to support old versions (#13811)
* Restructure to support old versions

* Fix tests
2017-01-06 12:36:57 -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
Nathan Shively-Sanders
656c4736ca Merge pull request #12811 from CaselIT/types-2.0
Added GridFS
2016-11-23 16:10:22 -08:00
Nathan Shively-Sanders
983c93531a Merge branch 'types-2.0' into types-merge-20161118 2016-11-21 16:16:59 -08:00
CaselIT
0da5208e59 Added GridFS 2016-11-19 18:33:06 +01: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
More4ever
df8674b001 Add length property for UnorderedBulkOperation 2016-11-10 17:09:02 +02:00
Martin Helmich
3abf7a7bd4 Cursor.map returns Cursor, not void (#12560) 2016-11-09 00:21:26 +09:00
TonyYang
f555feb4fc Add "toString()" for ObjectID (#12463) 2016-11-07 23:35:21 +09:00
TonyYang
3231685087 Add a method (#12430) 2016-11-02 23:39:31 +09:00
Ryan Cavanaugh
5d004be8ba Merge commit 'upstream/master~600' into merge_7_25 2016-07-26 00:22:12 -07:00
Ryan Cavanaugh
5e9440c8ad Merge commit 'upstream/master~700' into merge_7_25
# Conflicts:
#	angular-ui-router/angular-ui-router.d.ts
#	bookshelf/bookshelf-tests.ts
#	bookshelf/bookshelf.d.ts
#	enzyme/enzyme-tests.tsx
#	enzyme/enzyme.d.ts
#	escodegen/escodegen-tests.ts
#	helmet/helmet.d.ts
#	joi/joi.d.ts
#	knex/knex-tests.ts
#	moment/index.d.ts
#	mongoose/index.d.ts
#	pg/pg.d.ts
#	react-select/react-select-tests.tsx
#	soap/index.d.ts
#	ssh2/ssh2.d.ts
#	turf/turf-tests.ts
#	underscore.string/underscore.string.d.ts
2016-07-25 16:10:34 -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
Federico Caselli
8daa4ef04a Added missing deprecated method Collection remove (#9476) 2016-06-02 23:29:41 +09:00
Cristian Traistaru
b0684b27a4 Update listCollections to use filter objects (#9283) 2016-05-12 13:57:21 +09:00
Ryan Cavanaugh
612c172c52 Use correct test list 2016-05-10 12:28:03 -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
81862d240d More fixes 2016-05-04 22:50:05 -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
7906b3d3bd Update ACL + dependents 2016-04-27 21:13:23 -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
Dave Templin
b97c0d5a22 mongodb.d.ts fixes to enable Promise and async-await (#9064)
* mongodb.d.ts fixes to enable Promise and async-await

* Update mongodb.d.ts
2016-04-25 23:44:19 +09:00
Ryan Cavanaugh
4a433abbf4 Unwrap all lone ambient external modules 2016-04-22 14:12:45 -07:00
Timothy Soehnlin
04a46a81d9 Update mongodb.d.ts
Making initializedUnordered return UnorderedBulkOperation
2016-03-28 10:14:49 -05:00
vvakame
56295f5058 replace https://github.com/borisyankov/DefinitelyTyped to https://github.com/DefinitelyTyped/DefinitelyTyped 2016-03-17 00:55:26 +09:00
Ramon Ising
3cf5221c92 remove duplicate semicolon 2016-02-15 16:13:19 +01:00
vvakame
9027703c0b pass npm run all in new definition-tester 2016-02-10 00:16:03 +09:00
CaselIT
a80a024f79 Changed internal types from class to interface
Thanks to  @pfzero
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/7021#issuecomment-179439322
2016-02-03 21:50:31 +01:00
Federico Caselli
9e2b6c0c0c Fixed copy paste typo 2016-02-01 16:51:40 +01:00
Federico Caselli
8f03a21035 Direction argument of cursor.sort is optional 2016-01-13 11:29:14 +01:00
CaselIT
a546e99a72 Changed reference to the correct file version 2016-01-11 15:19:05 +01:00
CaselIT
307572b0ba Updated mongodb to version 2.1 2016-01-11 15:07:25 +01:00
Federico Caselli
361804fca9 Rename mongodb-tests.ts to mongodb-1.4.9-tests.ts 2016-01-11 15:06:09 +01:00
Federico Caselli
798fe08f86 Rename mongodb.d.ts to mongodb-1.4.9.d.ts 2016-01-11 15:05:54 +01:00
pyoungon
bb185bb119 Run 'npm test' and fix file to pass tests. (Change the definition order) 2015-12-30 12:55:45 +09:00
pyoungon
a3ff0859bf changed callback parameters as optional. 2015-12-28 11:11:00 +09:00
Krueger, Brandon
8bf5ea7eb0 generate is not supposed to be a static function 2015-10-21 08:06:27 -05:00
Krueger, Brandon
394deb7d9a Updating ObjectID to match current spec 2015-10-21 08:02:06 -05:00
Chris Pearce
12758ceb91 Added missing strict property to MongoCollectionOptions type of mongodb.d.ts 2015-09-07 19:05:22 +01:00
Lenilson Nascimento
1957c7eb73 Correct insertOne method 2015-08-02 19:35:27 -03:00
lnlwd
db52e392fa Correct param types, for parse build 2015-07-15 11:04:10 -03:00
lnlwd
9916fab22d Update collection to support new crud operations 2015-07-14 22:53:55 -03:00