Commit Graph
33869 Commits
Author SHA1 Message Date
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
Eliot Fallon 7c3baa4616 Added a new type to better restrict playsinline parameter to 1 or 0. 2017-05-24 10:05:42 +01:00
LKay b918472ea5 Remove unnecessary export 2017-05-24 16:07:46 +09:00
LKay 36eb56cdf2 Fix type to use correct NavLinkProps 2017-05-24 14:54:37 +09:00
LKay 3c74c9177a Fix export for react-icon-base 2017-05-24 14:48:34 +09:00
amiram 4f0face89d CreateUserData: add more properties.
UpdateUserData: added.
DeleteMultifactorParams: added type for provider.
UnlinkAccountsParams: added type for provider.
UnlinkAccountsResponse: added.
deleteUserMultifactor: removed returned value.
2017-05-24 08:00:30 +03:00
james1293 c42655ba9d Add undefined as possible output of Map.get() 2017-05-23 16:37:38 -04: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
Gabe Scholz dd14b49658 Ensure that typings for resolves and rejects return type Matchers<Promise<void>> 2017-05-23 12:01:10 -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
Bernd Hacker 5cced09631 add missing test file to tsconfig.json 2017-05-23 11:55:28 +02:00
Bernd Hacker 673e4d70ec add type definitions for HERE data lens 2017-05-23 11:45:51 +02: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
amiram 163ae5a140 auth0
fix getUser returns only a single user
fix deleteUser returns void
fix getUser and deleteUser mandatory params
2017-05-23 10:47:44 +03:00
amiram e4a9214280 auth0
fix getUser returns only a single user
fix deleteUser returns void
fix getUser and deleteUser mandatory params
2017-05-23 10:44:03 +03:00
amiram bbe4aab4f4 auth0
fix getUser returns only a single user
fix deleteUser returns void
fix getUser and deleteUser mandatory params
2017-05-23 10:40:47 +03:00
huhuanming 9f5ae6ecfb Add NavgationComponentProps 2017-05-23 14:55:52 +08:00