Max Battcher
8f92ae45d4
Further model reduction in pouchdb-mapreduce
...
Reduce should be a CouchDB-style reduction function (keys, values, rereduce).
For query, the Model is the Reduction or the currently hidden from types emit(key, value) value.
2017-06-08 20:12:24 -04:00
Max Battcher
37e857614e
Generic map/reduce parameters for pouchdb-mapreduce
2017-06-08 18:59:03 -04:00
Max Battcher
2305d1e38d
Remove union type in pouchdb-core
...
The union is covered by the overload.
2017-06-08 18:38:05 -04:00
Max Battcher
2a8dcade03
Replace pouchdb-core get open revision overloads
2017-06-08 17:19:16 -04:00
Max Battcher
3c705e898c
Update and lint pouch-redux-middleware
2017-06-08 15:13:04 -04:00
Max Battcher
fe564f6dcf
Update and lint PouchDB metapackages
2017-06-08 14:55:10 -04:00
Max Battcher
1493b8762b
Update and lint pouchdb-upsert
2017-06-08 14:48:02 -04:00
Max Battcher
12ffcffba5
Update and lint pouchdb-replication
2017-06-08 14:40:01 -04:00
Max Battcher
a9e3463342
Update and lint pouchdb-mapreduce
2017-06-08 14:29:46 -04:00
Max Battcher
0cdc4d77f1
Update and lint PouchDB adapters
2017-06-08 14:18:36 -04:00
Max Battcher
63905996fa
Update and lint pouchdb-find
2017-06-08 13:37:02 -04:00
Max Battcher
ef9cfd9537
Fix lint issues in pouchdb-core
2017-06-08 13:24:28 -04:00
Max Battcher
9cb1431127
Add heterogeneous generics to PouchDB Core
...
- Add a default to Database's generic parameter allowing easier "bare" usage (requires Typescript 2.3)
- Add a new `<Model>` generic to allow narrowing all calls to specific models at call point. (Generic default not needed here because Typescript already defaults to `{}` or `any` depending on noImplicitAny for all of these sorts of calls.)
- Expand bulkGet to include return type
Resolves #17039
2017-06-08 12:38:19 -04:00
Max Battcher
b19ff51bd2
Fix lint in PouchDB core tests
2017-06-08 10:43:02 -04:00
Max Battcher
8225b6592b
Add DT tslint to PouchDB core
2017-06-08 10:40:15 -04:00
Max Battcher
da04d8b684
Add PouchDB heterogeneous generic test
2017-06-08 10:39:49 -04:00
York Yao
35f275c081
[electron]remove electron because the it bundles one now ( #16928 )
...
* remove electron because the it bundles one now
* update asOfVersion
* fix asOfVersion
2017-06-08 06:39:20 -07:00
Niklas Wulf
046b7d5ff9
[Boom, Hapi] Add default generic type to all error creation functions ( #17048 )
...
* [Boom] Add default generic type to all error creation functions
* [Boom] Change default generic Data type to any instead of null
* [Boom] Add tests for error creation without custom data
* [Boom, Hapi] Move tests for passing Boom errors to Hapi continuation functions into hapi package
* [boom] add wrap and unauthorized return BoomError with data as null
2017-06-08 06:33:24 -07:00
Yui
7cebbb3e51
Merge pull request #16983 from elyscape/feature/improve-bunyan
...
[bunyan] Significantly improve type declarations
2017-06-07 16:35:46 -07:00
Yui
5d6171a286
Merge pull request #17001 from DanCorder/react-router-redux-revert-history-version
...
Revert react-router-redux history version change as discussed on pull request 16912
2017-06-07 16:33:38 -07:00
Yui
4ec4088feb
Merge pull request #17019 from nicolashenry/mongoose
...
[mongoose] set strictNullChecks to true
2017-06-07 16:33:08 -07:00
Yui
f5b6bf85a9
Merge pull request #17030 from brendanmckeown/fix/numeral-js
...
Numeral.js - add missing argument to `format` method
2017-06-07 16:32:21 -07:00
Yui
9d68082bb9
Merge pull request #17034 from janhommes/master
...
Updated o.js and odata types.
2017-06-07 16:31:59 -07:00
Yui
f1f474f46e
Merge pull request #16743 from marcogrcr/master
...
Added typings for the http-aws-es package.
2017-06-07 14:41:47 -07:00
Federico Caselli
7fc1644080
[mongodb] Added support for default generic types ( #16198 )
...
* Added support for ts2.3 default generic types
* Updated find and findOne
* Capitalized TypeScript Version
* Added missing TypeScript Version: 2.3
* Added TypeScript Version: 2.3 to express-brute-mongo; removed easy-jsend test dependency on mongoose
2017-06-07 10:41:33 -07:00
Jan Hommes
30a54db2bf
Fixed options interface.
2017-06-07 18:48:25 +02:00
Alexander James Phillips
7ea548f1fa
[Boom] Add data type to BoomError #16956 ( #17022 )
...
* [Boom] Add data type to BoomError #16956
* [Boom] Update TypeScript version to 2.3 in packages that import Boom
2017-06-07 09:37:40 -07:00
Jan Hommes
3386890a98
Updated o.js and odata types.
2017-06-07 18:09:13 +02:00
Yui
21a50f928b
Merge pull request #16940 from mquandalle/react-css-transition-replace-2.1
...
[react-css-transition-replace] Update to 2.1.0
2017-06-07 08:56:41 -07:00
McKeown, Brendan
833819c1aa
Numeral.js - use new RoundingFunction type in NumeralJsFormat interface format method
2017-06-07 09:51:24 -04:00
Stéphane Goetz
f7636dec13
[enhanced-resolve] update signature of synchronous calls ( #16429 )
...
* [enhanced-resolve] update signature of synchronous calls, return string and not ResolveResult
* [enhanced-resolve] Add my name to the definition
* Fix recommended changes
* onlyModule is optional
Fixed following recommendation of @e-cloud
2017-06-07 06:42:05 -07:00
Berton Zhu
887a4e87b0
fix(redux-actions): createAction<Payload>(actionType: string) and createAction(actionType: string) is incorrect. ( #16643 )
...
also see #15697
2017-06-07 06:40:21 -07:00
Niklas Wulf
d45137018d
[Hapi] Fix input and response validation function signatures ( #16802 )
...
* [Hapi] Fix input and response validation function signatures
Fixes #16750
* [Hapi] Allow custom validation options in route input and response
* [Hapi] Adjust validation contexts to match Hapi version 16.1.1
* [Hapi] Adjust test/route/validate.ts to match newest changes
* [Hapi] Add custom options to response validation test
* [Hapi] Update TypeScript version to 2.3 in packages that import Hapi
* [Hapi] Clarify documentation on validation function value, allow null
2017-06-07 06:37:04 -07:00
Brendan McKeown
1e85e1d7fb
Numeral.js - add missing second optional argument to format method for rounding function
2017-06-07 09:25:29 -04:00
E020873
62c91567aa
[mongoose] set strictNullChecks to true
2017-06-07 14:04:49 +02:00
Yui
15e9249275
Merge pull request #16946 from cjhowe7/patch-1
...
[types/node] Add promisify to util [wip]
2017-06-06 22:26:45 -07:00
Yui
85156a16e3
Merge pull request #16985 from thiagolacerda/master
...
Add missing TinyMCE Setting props from latest docs
2017-06-06 22:19:30 -07:00
Yui
2236d6bf39
Merge pull request #17012 from KamilSzostak/AppInsightsJSTrackTrace
...
Update trackTrack definition
2017-06-06 22:09:09 -07:00
Yui
63b2d81a8b
Merge pull request #17013 from leonard-thieu/semantic-ui
...
[semantic-ui] Update type definitions
2017-06-06 22:08:50 -07:00
Yui
5f1360b4b3
Merge pull request #17006 from AdamHerrmann/undertaker/TaskFunctionDescription
...
undertaker: add description to TaskFunctionParams
2017-06-06 21:59:10 -07:00
Leonard Thieu
ac1db88fa8
[semantic-ui] Update type definitions.
...
Depend on modules.
2017-06-06 21:36:00 -04:00
flushentitypacket
7d5307d0ec
Export as export = moxios to match the moxios package export. ( #16913 )
2017-06-06 18:31:41 -07:00
Leonard Thieu
4ab8603649
[semantic-ui-form] Add type definitions. ( #16993 )
2017-06-06 17:24:34 -07:00
Leonard Thieu
2529651e84
[semantic-ui-sticky] Add type definitions. ( #16991 )
2017-06-06 17:24:16 -07:00
Leonard Thieu
dc6ff26ec2
[semantic-ui-tab] Add type definitions. ( #16992 )
2017-06-06 17:23:50 -07:00
Leonard Thieu
8109b32f88
[semantic-ui-visibility] Add type definitions. ( #16994 )
2017-06-06 17:22:55 -07:00
Leonard Thieu
e366674da8
[semantic-ui-site] Add type definitions. ( #16995 )
2017-06-06 17:22:36 -07:00
Deividas Bakanas
879a6039ac
Types for rrc 0.10 ( #16996 )
...
* rrc types files added.
rrc types definitions.
* TS config updated.
Types definitions updated.
Tests added.
* withScroll return type adjusted to `react-router` RouteProps.component type.
* Test values updated.
* rrc types file lint errors fixed.
* rrc tests file updated.
2017-06-06 17:22:10 -07:00
Bernd
99d808a93f
add type definitions for HERE data lens ( #16690 )
...
* add type definitions for HERE data lens
* add missing test file to tsconfig.json
* fix tests and dtslint and improve typings
2017-06-06 17:21:44 -07:00
StickerFiend
9bb76af07f
[types/paper] Updated from clark-stevenson repo ( #16997 )
...
* Updated index.d.ts from clark-stevenson paperjs type repo
* Fixed failing test
2017-06-06 17:19:01 -07:00