Curtis Layne
b6cb635c6e
[recompose] Fixes many serious issues with recompose types ( #18496 )
...
The current iteration of recompose types have two issues:
1) Only a handful of HOCs infer required props from their children.
2) Even when an HOC does infer props from its children, it does not remove
requirements for props it injects.
This leads to the parent component rendering a wrapped commponent to not
realize that props an HOC is injecting have already been handled and
leads to a lot of typing issues.
This PR updates a lot of the types to infer injected types and remove /
partial them from the required props list that are passed to their
parent.
Due to a couple of typing issues in the TS language itself there are
some missing pieces, namely compose cannot currently be typed. This PR,
however, makes huge strides in correcting and inferring types in recompose.
2017-07-31 13:48:04 -07:00
Hadrien de Cuzey
b629f5171e
[pouchdb] Update types definitions for the latest version of pouchdb ( #18519 )
...
Add an optional extended description…
2017-07-31 13:47:32 -07:00
Ali Taheri Moghaddar
d85f1437b9
Fix exceljs row number ( #18520 )
...
* Re-add row number
* Test row number
2017-07-31 11:39:58 -07:00
Dimitri Benin
c698079f5a
[p-timeout] introduce typings ( #18480 )
2017-07-28 15:48:21 -07:00
QZ
1a93d8e6a8
Add identifier to semver.inc method ( #18477 )
2017-07-28 12:47:56 -07:00
Joel Poloney
a7bc5ed2d4
Adding missing race method to angular.IQService ( #18476 )
...
* Adding missing race method to angular.IQService
https://docs.angularjs.org/api/ng/service/$q lists race(promises); as a valid method in AngularJS $q. Adding this type so it can be used accordingly.
* Fixing lint errors
* Fixing use of array
2017-07-28 12:47:05 -07:00
Jimi (Dimitris) Charalampidis
70c6450707
Add function 'toTable' for IRecordSet<T>. ( #18475 )
2017-07-28 12:46:27 -07:00
Dimitri Benin
9fb941e644
[p-cancelable] introduce typings ( #18478 )
2017-07-28 12:45:51 -07:00
Andy
0f8472649f
next: Make types accessible from outside ( #18416 )
2017-07-28 12:42:18 -07:00
rapmue
1fcbecea99
[Recharts] improved the SVG definitions ( #18467 )
...
* merged definitions with my own. therefor added some types and made
changed the namespace back to a module.
* fixxed lint errors
* added CSSStyleDeclaration to some elements, so that they are directly styleable like in the original example
* removed commented out code
* commented why points is optional now
2017-07-28 10:51:51 -07:00
Gady
4bcdd24cad
Mongodb insert many ( #18473 )
...
* Improve types for Collection.insertMany
* Add contribution
* Remove blank line
2017-07-28 10:03:05 -07:00
Graham Laidler
c051125bb9
Made post elementToPost optional ( #18474 )
...
This isn't mandatory as restangular.one('objects',123).post('change') is a valid call, so made the elementToPost optional
2017-07-28 10:02:16 -07:00
Dmitry Sorin
00f366894b
[raven] Support for raven@2 ( #18459 )
...
* Add captureMessage to raven own methods, fix return type (it should be eventId: string) for both captureMessage and captureException
* Add support for req and user (2.x)
2017-07-28 09:06:06 -07:00
huhuanming
7e54573526
bumping version to 5.0 ( #18462 )
2017-07-28 07:35:52 -07:00
Paul Douglas Brimicombe
9f41dac624
Add missing Random prefix to Engine ( #18417 )
2017-07-28 07:16:22 -07:00
Douglas Duteil
3afcde1e63
refacto(portscanner): rename node-portscanner to match npm package name ( #18465 )
2017-07-28 07:14:34 -07:00
Sean Tan
2e47d65b7b
Add _rev to doc in AllDocsResponse. ( #18464 )
2017-07-28 07:12:32 -07:00
Michal Blaha
1c8353016b
[flake-idgen] Fix error TS2497 ( #18461 )
2017-07-28 07:08:05 -07:00
spacejack
af84d72ae6
Fix RequestOptions.config return type ( #18458 )
2017-07-28 07:06:55 -07:00
Bogdan
04fc36fa2e
new definition for "virtual-keyboard" ( #18441 )
...
* New definition for 'react-virtual-keyboard'
* fixes
* cleaning
* delete comments and blank line
* "noImplicitThis" have to be equal "true"
* new definition for 'virtual-keyboard'
* change files list in tsconfig.json
* Expected file 'virtual-keyboard-test.ts' to be named virtual-keyboard-tests.ts
* fix errors
* errors
* delete header
* Expected '// Type definitions for '
* header
* Error: At 3:60 : Expected one of
* header
* header
* header
* errors
* err
* err
* error
* global JQuery
* trailing whitespace
2017-07-28 07:00:57 -07:00
Eloy Durán
9622ee3e33
Merge pull request #18402 from timwangdev/patch-1
...
[react-native] Fix FlatList/SectionList renderItem method types
2017-07-28 10:40:32 +02:00
Tim Wang
f1ebed48aa
Add optional property for SectionList
2017-07-28 10:29:17 +08:00
Simone Mariotti
2d6cc6d6fc
Adding telebot types ( #18454 )
2017-07-27 14:48:54 -07:00
Ian Lin
f55037f738
add type for removeSearch(name, value) ( #18451 )
2017-07-27 14:31:46 -07:00
John Reilly
7cbc0981cd
Merge pull request #18368 from DovydasNavickas/patch-2
...
[react] Reverted #18227
2017-07-27 21:37:53 +01:00
Dovydas Navickas
1990f71c1f
Update index.d.ts
2017-07-27 23:33:01 +03:00
Dovydas Navickas
0139a27de7
Update index.d.ts
2017-07-27 23:16:38 +03:00
Dovydas Navickas
63c461f72e
Merge pull request #1 from DefinitelyTyped/master
...
Master to patch-2
2017-07-27 23:15:05 +03:00
Ed Staub
351950a008
Add withSchema() to queryBuilder interface ( #18452 )
...
... not to be confused with the schemaBuilder withSchema method
2017-07-27 11:29:42 -07:00
Goldsmith42
a05eb94880
Added definition for properties-reader. ( #18408 )
...
* Added definition for properties-reader.
* Improved definition for properties-reader.
* Removed object reference from properties-reader.
2017-07-27 08:07:41 -07:00
Leonard Thieu
1abd6ee8d6
[semantic-ui] Update to 2.2.11 ( #18431 )
...
* [semantic-ui-form] Update to 2.2.11.
* [semantic-ui-form] Add previously undocumented 'add prompt' behavior.
* [semantic-ui-modal] Fix spacing in documentation.
* [semantic-ui-sticky] Update to 2.2.11.
* [semantic-ui-popup] Update to 2.2.11.
* [semantic-ui-api] Add 'api' setting.
* [semantic-ui-api] Lint.
2017-07-27 08:07:27 -07:00
ZheyangSong
41e137c8e9
Fix react-grid-layout Type Definition ( #18433 )
...
+ each property of `Layouts` should be in shape of `Layout[]`
+ Refs:
+ https://github.com/STRML/react-grid-layout/blob/master/test/examples/0-showcase.jsx#L55
+ https://github.com/STRML/react-grid-layout/blob/master/test/examples/0-showcase.jsx#L84
+ https://github.com/STRML/react-grid-layout/blob/master/lib/responsiveUtils.js#L71
+ https://github.com/STRML/react-grid-layout/blob/master/lib/utils.js#L39
2017-07-27 08:03:46 -07:00
wanganjun
26e81f5e87
add tslint.json for package arrify ( #18435 )
2017-07-27 08:03:21 -07:00
Byeong Hun Yoo
8742a3dec1
Add missing parameter type to buildImage ( #18436 )
...
https://github.com/apocas/dockerode#building-an-image3
2017-07-27 08:02:58 -07:00
Dan
03c50b2890
Added missing inputStyle prop to <Checkbox /> ( #18438 )
2017-07-27 08:02:31 -07:00
Adam Lavin
443bfb3548
Updated react-icon-base props to extend React.SVGProps ( #18444 )
2017-07-27 08:00:48 -07:00
Andy
11fab3226b
Fix jquery promise compatibility with async functions ( #18421 )
2017-07-27 07:54:12 -07:00
Eric Wieser
4331ee51ba
Add Q.Promise.all, the member function ( #18308 )
2017-07-27 06:49:34 -07:00
Tim Wang
cde9060ae1
Add correct type for SectionList
2017-07-27 21:33:10 +08:00
Tim Wang
03b37e3f1b
Make key optional for SectionListData
2017-07-27 21:11:59 +08:00
Tim Wang
4a0e8af3d9
Fix SectionList test
2017-07-27 21:00:03 +08:00
Tim Wang
d6168ee581
Fix typo
2017-07-27 17:36:53 +08:00
Tim Wang
c657519830
Remove unused import
2017-07-27 17:30:53 +08:00
Tim Wang
4f0e33fcda
Fix SectionListProperties
2017-07-27 17:26:23 +08:00
Tim Wang
9fb7af4a03
Add test for FlatListProperties & SectionListProperties
2017-07-27 17:25:52 +08:00
John Reilly
936e0b0e12
Merge pull request #18432 from migolo/patch-1
...
React: capitalize autoComplete property
2017-07-27 06:11:59 +01:00
Miguel González
4d110763b1
capitalize autoComplete
...
According to React documentation the correct way is autoComplete
2017-07-26 20:04:06 -05:00
Marvin Hagemeister
ab4364a415
Fix linting errors for babel-template ( #18427 )
2017-07-26 13:43:21 -07:00
Marvin Hagemeister
50419ba7dc
Fix linting errors for babel-core ( #18426 )
2017-07-26 13:20:00 -07:00
Dibyo Majumdar
bd48c6b64f
Add types for package redux-batched-subscribe ( #18394 )
...
* Add redux-batched-subscribe types
* Address lint errors
* Add tests for redux-batched-subscribe
* Add sample batchFunction and corresponding types
2017-07-26 10:38:24 -07:00