Sean Kelley
ee05115ac7
Reactstrap: update types for innerRefs.
...
Refer to React's Ref<T> class instead. This way the types of the innerRef reflect
whatever the installed typings for React say a ref can be.
2018-05-21 14:10:14 -07:00
Sean Kelley
4563f43f69
Reactstrap: StatelessComponent -> Component where appropriate.
...
(See also #24846 for prior work.)
Update Reactstrap to declare components that aren't stateless functional components
as regular components. This allows consumers to use ref-related APIs, namely, the
`ref` prop and `forwardRef`.
Previously, Typescript would outright deny passing `ref`, and any attempts to use
`forwardRef` would cause very confusing type errors claiming that the component class
you were trying to refer to didn't exist (?!).
Note that many components actually are implemented as stateless components, and as such
their typings haven't been changed.
I found the list of components needing this update by checking out current master
of reactstrap (1d20d6d52c258428df39429e09c84b0ddcac76ee), then
```sh
cd src
rg 'extends (React.)?Component' -l | grep -v '__tests__'
```
2018-05-21 13:31:14 -07:00
Eloy Durán and GitHub
4393935ba7
Merge pull request #25888 from VincentLanglet/layoutProps
...
[@types/react-native] Remove layoutProperties
2018-05-21 12:35:13 +02:00
Vincent Langlet
8dbab0928b
Remove layoutProps
2018-05-19 14:22:25 +02:00
Ron Buckton and GitHub
7983861f3e
Merge pull request #25840 from MathiasPaumgarten/gl-texture2d-fix
...
fixes gl-texture2d with missing setPixels() method
2018-05-18 17:16:06 -07:00
Ron Buckton and GitHub
0a13c54999
Merge pull request #25833 from affilnost/master
...
package.json reformat: 4 spaces indentation according to the .editorconfig
2018-05-18 17:12:43 -07:00
Ron Buckton and GitHub
4ae0bed77c
Merge pull request #25812 from Slessi/typings/react-native-multi-slider
...
Typings for react-native-multi-slider
2018-05-18 17:11:47 -07:00
Ron Buckton and GitHub
97c87942c9
Merge pull request #25813 from Slessi/typings/extract-files
...
Typings for extract-files
2018-05-18 16:59:06 -07:00
Ron Buckton and GitHub
b030b96b24
Merge pull request #25811 from knegusen/react-collapsible
...
Add definitions for react-collapsible
2018-05-18 16:48:58 -07:00
Ron Buckton and GitHub
33733f0504
Merge pull request #25807 from spacejack/tail
...
Add types for tail
2018-05-18 16:41:04 -07:00
Ron Buckton and GitHub
20b889547b
Merge pull request #25797 from pluma/rmfr
...
Add typings for rmfr
2018-05-18 16:34:24 -07:00
Ron Buckton and GitHub
badf3600e2
Merge pull request #25798 from pluma/mkdirp-promise
...
Add mkdirp-promise typings
2018-05-18 16:26:13 -07:00
Ron Buckton and GitHub
5d1e2748bd
Merge pull request #25740 from karol-majewski/memoize-one
...
Create definitions for memoize-one
2018-05-18 16:19:59 -07:00
Ron Buckton and GitHub
0d169b5119
Merge pull request #25745 from zspitz/jscript-wsh
...
Switch scripthost dependencies to activex-interop / windows-script-host
2018-05-18 15:06:48 -07:00
Ron Buckton and GitHub
5df825b3cf
Merge pull request #25773 from forabi/add-p-memoize
...
Add types for p-memoize
2018-05-18 14:58:32 -07:00
Ron Buckton and GitHub
8ea7323a0f
Merge pull request #25779 from cjhoward92/fix-rebass
...
[@types/rebass] Include the Provider in exports and fix minor typing issues
2018-05-18 14:56:57 -07:00
Ron Buckton and GitHub
af28ca653e
Merge pull request #25786 from OliverJAsh/patch-16
...
Node: remove myself as author
2018-05-18 14:51:27 -07:00
Ron Buckton and GitHub
0c94b39aa5
Merge pull request #25791 from Arylo/cli-table
...
Add type definition for cli-table
2018-05-18 14:49:45 -07:00
Ron Buckton and GitHub
95235c6239
Merge pull request #25746 from madmages/master
...
@type/chrome discard method & properties
2018-05-18 14:36:33 -07:00
Ron Buckton and GitHub
9e4d5dfc08
Merge pull request #25744 from deptno/ramda/bind
...
types/ramda fix bind definition & test code
2018-05-18 14:27:33 -07:00
Ron Buckton and GitHub
a5aced6c49
Merge pull request #25626 from biern/master
...
[ramda] Improve R.evolve
2018-05-18 14:26:36 -07:00
Ron Buckton and GitHub
b29f77f2b1
Merge pull request #25878 from smithmb-code/master
...
Allow passing a boolean to the sort field of Options
2018-05-18 14:24:53 -07:00
Ron Buckton and GitHub
8facb1cb36
Merge pull request #25586 from Ledragon/d3-color-120
...
#25583 : D3 color 1.2.0
2018-05-18 14:23:43 -07:00
Ron Buckton and GitHub
1ee5063533
Merge pull request #25871 from ascariandrea/react-native-auth0
...
rea t-native-auth0: Added missing optional refreshToken in PasswordRealmResponse
2018-05-18 14:10:42 -07:00
Ron Buckton and GitHub
ef54c688c5
Merge pull request #25867 from algolia/feat/algolia-settings
...
fix(algoliasearch): camelCase & placeholders
2018-05-18 14:10:14 -07:00
Ron Buckton and GitHub
a46b92f7f5
Merge pull request #25799 from BlackPepperSoftware/aws-lambda-codepipeline
...
Add definition for AWS Lambda Code Pipeline event
2018-05-18 14:08:46 -07:00
Ron Buckton and GitHub
7a9adc604a
Merge pull request #25831 from ionut-botizan/master
...
[node] Add debugPort to the Process interface
2018-05-18 13:51:10 -07:00
Ron Buckton and GitHub
2f052d79f7
Merge pull request #25847 from bpdsw/master
...
Update jwplayertypes to work with JWPlayer 8.2.2
2018-05-18 13:49:27 -07:00
Ron Buckton and GitHub
011afe6033
Merge pull request #25522 from aj-r/lodash-omit-unset
...
Lodash omit unset
2018-05-18 13:48:42 -07:00
Ron Buckton and GitHub
ca38f8156b
Merge pull request #25827 from gossi/patch-2
...
Optional 3rd argument for addObserver and removeObserver
2018-05-18 13:41:38 -07:00
Ron Buckton and GitHub
6ce841d152
Merge pull request #25839 from affilnost/chartist-improvements
...
"chartist" improvements: added "series" to the ILineChartOptions, files reformat, definitions change
2018-05-18 13:20:30 -07:00
Ron Buckton and GitHub
d71a9410e4
Merge pull request #25876 from csantero/qunit-equiv
...
[qunit] Add QUnit.equiv
2018-05-18 13:16:21 -07:00
Ron Buckton and GitHub
8192e5b19e
Merge pull request #25855 from waltersjack/master
...
Recharts - Added in missing horizontalFill and verticalFill for CartesianGrid
2018-05-18 13:15:17 -07:00
Ron Buckton and GitHub
42608a6eea
Merge pull request #25728 from glicht/tar-stream
...
Add definitions for tar-stream
2018-05-18 13:13:10 -07:00
Ron Buckton and GitHub
cde3d979d9
Merge pull request #25723 from neodon/vue-markdown
...
Add definitions for vue-markdown
2018-05-18 13:12:16 -07:00
Hugues Stefanski
1606c6c190
d3-color : use type instead of interface
2018-05-18 21:46:44 +02:00
Hugues Stefanski
be78af0d6c
d3-color : adress last comments
2018-05-18 21:30:03 +02:00
Ron Buckton and GitHub
e8e0685396
Merge pull request #25718 from ckosti/mdc
...
Updated types for material-components-web and @material group to v0.35.0
2018-05-18 12:27:33 -07:00
Michael Smith and GitHub
5bc9242a21
Allow passing a boolean to the sort field of Options
...
Options.sort can be `false` to disallow sorting (see: https://github.com/LeaVerou/awesomplete/pull/17043 )
2018-05-18 15:21:04 -04:00
Ron Buckton and GitHub
245804c80d
Merge pull request #25708 from saboya/wreck-v14
...
wreck: Updating type definitions to v14.0.0.
2018-05-18 12:17:58 -07:00
Ron Buckton and GitHub
680d7edac3
Merge pull request #25633 from Aankhen/mention-npx-in-readme
...
Mention npx when talking about dts-gen in README.md
2018-05-18 12:03:03 -07:00
Ron Buckton and GitHub
aceeb6b67b
Merge pull request #25726 from championswimmer/@types/discourse-sso
...
add types for discourse-sso
2018-05-18 12:00:47 -07:00
Ron Buckton and GitHub
9acaa139c5
Merge pull request #25591 from jethrolarson/checkPropTypes
...
Add checkPropTypes definition to @types/prop-types
2018-05-18 11:37:22 -07:00
Ron Buckton and GitHub
cf4716f430
Merge pull request #25700 from robmandoe/patch-1
...
needs... objectCaching?: boolean; ...on IObjectOptions
2018-05-18 11:24:14 -07:00
Jack Walters and GitHub
cc5f1242dc
Update recharts-tests.tsx
2018-05-18 11:06:06 -07:00
Jack Walters and GitHub
b1f8a39a7f
Update recharts-tests.tsx
2018-05-18 11:05:14 -07:00
Chris Santero
f658544862
[qunit] Add QUnit.equiv
2018-05-18 11:54:26 -04:00
Andrea Ascari
26255b4c7d
Added missing optional refreshToken in PasswordRealmResponse, closes #25823 .
2018-05-18 16:07:52 +02:00
Haroen Viaene
4ef613d9f9
fix(algoliasearch): camel case
...
[placeholders](https://www.algolia.com/doc/api-reference/api-parameters/placeholders/ )
[camelCaseAttributes](https://www.algolia.com/doc/api-reference/api-parameters/camelCaseAttributes/ )
2018-05-18 14:02:25 +02:00
Ron Buckton and GitHub
0e3cd2e17c
Merge pull request #25828 from wazeHQ/mapbox__geojson-area
...
add types for @mapbox/geojson-area
2018-05-17 22:04:01 -07:00