Commit Graph
30224 Commits
Author SHA1 Message Date
Aaron Petcoff 7309ef4498 adds promise to PoolConfig in pg 2017-05-25 17:40:39 -04:00
Cameron Little 5552b831b9 Update index.d.ts 2017-05-25 13:06:38 -07:00
Aluan Haddad 6a2127b2be lint 2017-05-25 13:34:43 -04:00
Aluan Haddad cbb74ca81c Export DeepReadonly via declaration merging 2017-05-25 13:29:43 -04:00
Cameron Little c34962bc59 Update index.d.ts 2017-05-25 09:29:01 -07:00
Eloy Durán fd0866564c Merge pull request #16687 from gyzerok/react-native/fix-slider-props
@types/react-native update Slider props
2017-05-25 15:33:47 +02:00
Eloy Durán 3a2c3ef382 Merge pull request #16668 from huhuanming/react-navigation
Add NavgationComponentProps<T>
2017-05-25 15:32:17 +02:00
Alexander James Phillips 8e9543bf94 Update redux-form-tests.tsx
Improve test examples use of state
2017-05-25 02:56:44 +01:00
Alexander James Phillips bc6bf3c316 Add example of using initialValues 2017-05-25 01:49:23 +01:00
Horus Lugo 106d8bd25a Fixes a typo on routerActions's symbol name
Changes symbol name from 'routerAction' to 'routerActions'.
2017-05-24 22:27:56 +02:00
Cameron Little bedfaf0249 Update index.d.ts 2017-05-24 09:40:34 -07:00
Cameron Little a524192bf5 Add Component<P> class
This allows declaring a parameter or variable as a general "component with props P" instead of needing to declare it class based or function.
2017-05-24 09:34:25 -07:00
Nathan Shively-Sanders 6d51c94538 Merge pull request #16723 from DefinitelyTyped/react-componentlifecycle-becomes-class
Change react's ComponentLifecycle to class
2017-05-24 09:27:56 -07:00
Nathan Shively-Sanders 43d74e2dfe Add a Component interface that merges w/the class
The Component interface extends ComponentLifecycle. ComponentLifecycle
goes back to being an interface.

Also fix some lint in react-virtualized
2017-05-24 09:15:22 -07:00
Nathan Shively-Sanders 9853ed4e21 Make ComponentLifecycle inherited methods public 2017-05-24 08:44:31 -07:00
Andrea Briganti a1d65618d8 jquery-match-height pr fixes 2017-05-24 17:22:24 +02:00
Nathan Shively-Sanders dde2a7a3ba Change react's ComponentLifecycle to class
ComponentLifecycle is intended to provide some methods to Component
subclasses and enforce that overrides of those methods are correct in
those same subclasses.

However, it does neither of these things as an interface that
Component `implements`. It just checks that Component has all the
required methods of ComponentLifecycle. Since there are no required
methods, the `implements` check passes. And since Component doesn't
actually *implement* any of the methods, its subclasses don't get
them by default, and their 'overrides' are not checked for
correctness.

Changing ComponentLifecycle to a class fixes both of these problems.
2017-05-24 07:46:27 -07:00
Andrea Briganti 3248ac28b4 jquery-match-height tslint 2017-05-24 16:37:04 +02:00
Andrea Briganti 5b4c1f8832 Add jquery-match-height typings 2017-05-24 16:25:53 +02:00
york yao 4a362a17c3 improve types of qrcode@0.8.2 2017-05-24 22:11:17 +08:00
Marius Olbertz 6f9df7ac43 Add tests for addWidget 2017-05-24 16:05:34 +02:00
FUJI Goro (gfx) 1f1491ee8b fix type of react-intl/{FormattedDate,FormattedTime,FormattedRelative} 2017-05-24 22:47:26 +09:00
Marius Olbertz b8b1b9d1ac Make addWidget take HTMLElement or jQuery element
Although the docs are not 100% accurate, [this code here](https://github.com/troolee/gridstack.js/blob/develop/src/gridstack.js#L1271) shows that the first parameter is wrapped with jQuery, thus making `HTMLElement` and `JQuery` also valid types.
2017-05-24 14:44:18 +02:00
LKay 36eb56cdf2 Fix type to use correct NavLinkProps 2017-05-24 14:54:37 +09:00
Jordan Holliday 4f2ab268ea [Mixpanel] add reset method to mixpanel global instance 2017-05-23 16:18:15 -04:00
Daniel Rosenwasser e63f331400 Merge pull request #16677 from mariajplmiranda/master
Adds `prompt` to grantOfflineAccess method
2017-05-23 12:03:38 -07:00
Peter Burns e85e05d0b2 Add tests of types. 2017-05-23 12:03:17 -07:00
Daniel Rosenwasser 5c752e4e8c Merge pull request #16691 from vesse/convict/validate
[convict] Validate options and chaining
2017-05-23 12:03:09 -07:00
Daniel Rosenwasser 2207254981 Merge pull request #16374 from michaelaird/patch-2
Instead of adding overload, fix the return type
2017-05-23 11:58:41 -07:00
Huw McNamara 528a0c1e22 updated typescript version 2017-05-23 19:13:28 +01:00
Huw McNamara 0ef498c36a addressed feedback 2017-05-23 19:09:07 +01:00
Andrew Sheehan 84241ecf3d Add TypeScript version to definition header for xmldoc, fix lint failures in tests for xmldoc 2017-05-23 10:41:37 -05:00
Spectral Radius Systems c1a65853d4 put back spaces to avoid pull-request problems 2017-05-23 11:24:14 -04:00
Michael Aird f7f271b820 Fixed the method signature
Thanks to @DanielRosenwasser for pointing out the mistake in my change. This should now be correct.
2017-05-23 11:23:13 -04:00
spectralradius b77b131956 Update spdy to avoid redeclaring node types. 2017-05-23 11:20:39 -04:00
Jonathon Kelly 740b493d82 add required to TextFieldProps 2017-05-23 16:19:55 +01:00
Andrew Sheehan 6ce5f0c003 Include tslint.json in xmldoc folder 2017-05-23 10:11:52 -05:00
Dom Armstrong 41dbea1957 dottie: get default value is optional 2017-05-23 16:08:37 +01:00
Andrew Sheehan 5ae5974c52 Update typings for xmldoc 2017-05-23 09:58:22 -05:00
Jos van den Oever ed212228d8 Add more options to JSZipGeneratorOptions
Source: https://stuk.github.io/jszip/documentation/api_jszip/generate_async.html
2017-05-23 15:12:44 +02:00
Vesa Poikajärvi df2c87326f [convict] incorrect whitespace fixed from test 2017-05-23 13:55:29 +03:00
Vesa Poikajärvi b475ab8f37 [convict] Many Config methods are chainable 2017-05-23 13:36:46 +03:00
Vesa Poikajärvi 80e0d7f774 [convict] 3.0.0 deprecated option strict and added option allowed 2017-05-23 13:23:53 +03:00
Ashish Shubham e657a632ad Update index.d.ts 2017-05-23 03:05:24 -07:00
Ashish Shubham dceac2d5c1 Update rangy-tests.ts 2017-05-23 03:04:26 -07:00
Ashish Shubham bcc2eec922 Update rangy-tests.ts 2017-05-23 02:07:40 -07:00
mariajplmiranda 7f3bf5d32e Changes grantOfflineAccess options
Specifies prompt options, adds app_package_name property and removes redirect URI
2017-05-23 10:06:04 +01:00
Ashish Shubham 688ba5fea6 Update rangy definitions 2017-05-23 01:22:35 -07:00
huhuanming 9f5ae6ecfb Add NavgationComponentProps 2017-05-23 14:55:52 +08:00
Fedor Nezhivoi 96d0e4a113 @types/react-native update Slider props 2017-05-23 09:41:01 +03:00