Commit Graph
41214 Commits
Author SHA1 Message Date
Daniel Rosenwasser f3704a6fe5 Merge pull request #16686 from ashubham/master
update packageName:rangy definitions
2017-05-30 11:42:19 -07:00
Leonard Thieu 52318fe24f Conform header label. 2017-05-30 13:46:54 -04:00
Vesa Poikajärvi 3e47024516 [basic-auth] removed redundant JSDoc 2017-05-30 18:18:18 +03:00
John Reilly 5a1df15ca4 Merge pull request #16839 from DanielRosenwasser/routerUnionDuh
Allow 'children' to be an element in react-router.
2017-05-30 11:01:53 +01:00
Nick Mertens 357b6211e5 Add screenProps to NavigationContainerProps interface 2017-05-30 20:36:23 +12:00
Daniel Rosenwasser 3b8b7625b7 Lints. 2017-05-30 01:17:26 -07:00
Daniel Rosenwasser 65cfdaef94 Fixed the type of 'children' for 'Route' in 'react-router'. 2017-05-30 01:01:22 -07:00
Daniel Rosenwasser 4e4890ccc8 Added tests for 'children' set to both elements and functions to elements in 'react-router'. 2017-05-30 00:58:35 -07:00
Gabe Scholz 649f8e44f1 PR Fixes:
- Fix Jest version
- Add hasAssertions()
2017-05-29 16:17:51 -07:00
Eloy Durán 0e687488aa Merge pull request #16813 from jeremistadler/react-native-text-patch
[React-Native] Add missing props for `Text` & `TextInput`
2017-05-29 22:38:54 +02:00
Jeremi Stadler 8a8bb937ea [React-Native] Add myself to maintainers list 2017-05-29 21:50:54 +02:00
Jeremi Stadler 11e05d5948 [React-Native] Add missing props for Text & TextInput
https://facebook.github.io/react-native/docs/text.html#selectioncolor

https://facebook.github.io/react-native/docs/text.html#textbreakstrategy

https://facebook.github.io/react-native/docs/textinput.html#spellcheck
2017-05-29 15:29:41 +02:00
Jeremi Stadler f113c7a5e7 [React-Navigation] Add tabConfig tests
Specifically to test the tabBarComponent property
2017-05-29 14:34:58 +02:00
Eloy Durán 59a13e3e59 Merge pull request #16786 from jeremistadler/patch-1
[React-Native] Add global ErrorUtils & __BUNDLE_START_TIME__
2017-05-29 12:59:51 +02:00
Jeremi Stadler 72b1711397 [React-Navigation] Add TabBarTop & TabBarBottom types 2017-05-29 12:39:16 +02:00
Jeremi Stadler c350fb666d [React-Native] Add global ErrorUtils & __BUNDLE_START_TIME__
Source:
https://github.com/facebook/react-native/blob/master/packager/src/Resolver/polyfills/error-guard.js
https://github.com/facebook/react-native/blob/master/packager/src/Resolver/polyfills/prelude.js
2017-05-29 11:43:14 +02:00
Geert Jansen 5332c59958 update methodNames parameter type on createSpyObj
Adds missing Object type to the methodNames parameter on the jasmine.createSpyObj method.
2017-05-29 09:04:45 +02:00
amiram babb37825c Make CreateUserData extend UserData 2017-05-29 07:32:13 +03:00
amiram 52c5e07346 Make UpdateUserData extend UserData 2017-05-28 21:30:21 +03:00
Leonard Thieu d5ef015d81 Update type definitions for Semantic UI. 2017-05-28 14:06:06 -04:00
Leonard Thieu 8ac5e5b4ec Define type for JQueryStatic.fn. 2017-05-28 13:05:00 -04:00
Brian Lee 7a33809658 Allow subclass gm function to accept source types other than path strings 2017-05-27 17:35:56 -07:00
Bhargav Krishna 145dd9bdb7 Adding types for Microsoft Teams Library (#16741)
* adding microsoft teams

* Update index.d.ts

* disabling prefer-method-signature
2017-05-26 18:07:56 -07:00
Aluan Haddad 8fb52b5f6c Update deep-freeze-tests.ts
Fix tests
2017-05-26 11:08:36 -04:00
Hiroki Horiuchi 09ed965f57 Merge pull request #16632 from jacobbogers/master
added new types to support methodless Session and Cookie objects (when  express-session -middleware hydrates to and from a Store implementation).
2017-05-26 08:58:33 +09:00
Aaron Petcoff ee909ca497 duh forgot to add the word 'from' 2017-05-25 17:49:47 -04:00
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
Eliot Fallon 7c3baa4616 Added a new type to better restrict playsinline parameter to 1 or 0. 2017-05-24 10:05:42 +01:00