Commit Graph

33869 Commits

Author SHA1 Message Date
Cameron Little
3d96784a56 Use webpack-env instead of node 2017-08-15 15:28:15 -07:00
John M. Wright
d65fe3323d allowing ComponentRestrictions as string|string[]
Google API allows the Autocomplete ComponentRestrictions to be either a single string (`{'country': 'us'}`) or a string array (`{'country': ['us','gb','fr']}`)

Reference: 
Single value: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-hotelsearch
Multiple values: https://developers.google.com/maps/documentation/javascript/examples/places-autocomplete-multiple-countries
(
2017-08-15 16:46:52 -05:00
IAMtheIAM
fdeb1336e3 fix typo 2017-08-15 14:18:16 -07:00
Cameron Little
90629e8c50 storybook__react: Remove dependency on @types/node
Including `@types/node` is problematic because the storybook react api runs in a browser context. `@types/node` defines several globals that are incompatible with common browser contexts (such as `require` and `global`
2017-08-15 13:53:31 -07:00
Andy
5002dcc843 Add CODEOWNERS file (#18991) 2017-08-15 13:42:13 -07:00
Danny Cochran
d38522bd72 make default arguments {} instead of any 2017-08-15 12:47:50 -07:00
Bernard, Nicholas (ETW - FLEX)
54cf4c673b Add getLineTokens method 2017-08-15 12:37:17 -07:00
Dimitri Benin
8db0c98591 [fresh] add typings (#18990) 2017-08-15 12:23:20 -07:00
Dimitri Benin
6ad38fb8c7 [http-errors] update tests 2017-08-15 21:14:12 +02:00
Daniel Rosenwasser
62cadd0386 Merge pull request #18977 from mthmulders/passport-github2
Type definitions for Passport-GitHub (2)
2017-08-15 11:46:38 -07:00
Daniel Rosenwasser
3845c86a80 Merge pull request #18747 from jafaircl/master
[Google AdWords Scripts] introduce typings
2017-08-15 11:45:32 -07:00
Daniel Rosenwasser
6f7aa154d8 Merge pull request #18668 from BendingBender/p-props
[p-props] introduce typings
2017-08-15 11:41:16 -07:00
Daniel Rosenwasser
1cdeb342ee Merge pull request #18978 from aeisenberg/master
Updates type definitions for js-yaml
2017-08-15 11:31:11 -07:00
Daniel Rosenwasser
894adbc6fd Correct test to use require imports instead of namespace imports. 2017-08-15 11:29:16 -07:00
Daniel Rosenwasser
d542dc4544 Merge pull request #18975 from netroy/client-sessions
add type definitions for the `client-sessions` node module
2017-08-15 11:20:54 -07:00
Daniel Rosenwasser
bfa7c5b87f Merge pull request #18959 from BendingBender/proxy-addr
[proxy-addr] add typings
2017-08-15 11:19:31 -07:00
Daniel Rosenwasser
89b237f74c Merge pull request #18962 from BendingBender/vary
[vary] add typings
2017-08-15 11:16:44 -07:00
Daniel Rosenwasser
91cc57fc74 Merge pull request #18779 from r-k-b/master
[bunyan] fix: streams can be named
2017-08-15 11:14:48 -07:00
Daniel Rosenwasser
35c8eb42a5 Merge pull request #18982 from timwangdev/navigation-style
[react-navigation] Use TextStyle for navigation header text related style properties
2017-08-15 11:12:12 -07:00
Daniel Rosenwasser
9db2d85d00 Merge pull request #18966 from anselmstordeur/master
elasticsearch: Change SearchResponse _version parameter to optional
2017-08-15 11:11:16 -07:00
Daniel Rosenwasser
a0783e4452 Merge pull request #18965 from doomsower/googlemaps-1
[@types/googlemaps] Improve some Data and Geometry definitions
2017-08-15 11:10:15 -07:00
Daniel Rosenwasser
e728bce10d Merge pull request #18968 from marvinhagemeister/classnames_bind
classnames: Support bind constructor
2017-08-15 11:03:24 -07:00
Daniel Rosenwasser
a96008258d Merge pull request #18983 from timwangdev/optional-loadfont
[react-native-vector-icons] Make loadFont file parameter optional
2017-08-15 11:01:40 -07:00
Daniel Rosenwasser
3b298e2ef8 Merge pull request #18980 from tansongyang/master
[react-redux] Do not mark ownProps as optional
2017-08-15 11:01:12 -07:00
Mattias Holmlund
58ad862cee node: Add scopeid for IPv6 interfaces
The scopeid field only exists if the interface is of family IPv6

https://nodejs.org/dist/latest-v6.x/docs/api/os.html#os_os_networkinterfaces
2017-08-15 20:00:11 +02:00
Daniel Rosenwasser
ef12c774d7 Merge pull request #18986 from BendingBender/compressible
[compressible] add typings
2017-08-15 10:59:34 -07:00
Marco Buono
53266428eb react-redux: Add test for optional dispatch prop 2017-08-15 14:53:42 -03:00
Dimitri Benin
7cab25035d [compressible] add typings 2017-08-15 19:04:45 +02:00
Dimitri Benin
9b9631b4df [http-errors] upgrade to v1.6, enable strict null checks & linting 2017-08-15 18:54:01 +02:00
Eloy Durán
cae4925e76 Merge pull request #18924 from mcousillas6/fix/flatListItemSeparator
[react-native] Added missing type cases for ItemSeparatorComponent on FlatList
2017-08-15 18:25:00 +02:00
Marco Aurélio
b68c87fee6 react-redux: Make dispatch property optional
That way the function returned by `connect()` (when no `mapDispatchToProps` function is specified) can also take React classes that don't have a `dispatch` prop declared. (But we get to keep the type checking for the classes that do)
2017-08-15 12:53:34 -03:00
Tim Wang
fa00e46e93 Use TextStyle for navigation text related style properties 2017-08-15 23:37:34 +08:00
Tim Wang
eb413c219e Make loadFont file optional 2017-08-15 23:30:06 +08:00
Danny Cochran
2da9431df1 Make all arguments for Options optional
next-redux-wrapper uses Options -- a separate PR can add arguments there.
2017-08-15 07:47:06 -07:00
Frank Tan
eaea12959d [react-redux] Do not mark ownProps as optional
According to docs, "it's always legal to provide a callback that accepts fewer arguments": https://www.typescriptlang.org/docs/handbook/declaration-files/do-s-and-don-ts.html#optional-parameters-in-callbacks

Morever, react-redux docs say that ownProps will have a value when it is specified as a callback argument: https://github.com/reactjs/react-redux/blob/master/docs/api.md#the-arity-of-mapstatetoprops-and-mapdispatchtoprops-determines-whether-they-receive-ownprops
2017-08-15 10:13:01 -04:00
Andrew Eisenberg
4b4f721766 Updates type definitions for js-yaml
Includes a more complete definition for yaml.Schema.create().
2017-08-15 07:57:55 -06:00
Maarten Mulders
d57c207a00 Type definitions for Passport-GitHub (2) 2017-08-15 15:49:16 +02:00
Aditya
bbf02108e1 client-sessions: add definitions 2017-08-15 15:09:26 +02:00
Marc Ghorayeb
ad093c1036 [node] homogenize zlib input to Buffer or string and results to Buffer 2017-08-15 14:36:40 +02:00
mcousillas6
468ccddeac Changed typing to React.ComponentType 2017-08-15 08:59:40 -03:00
Marvin Hagemeister
256046e660 classnames: Support bind constructor 2017-08-15 11:25:54 +02:00
Anselm Rochus Stordeur
f675303583 elasticsearch: Change SearchResponse _version parameter to optional
The _version parameter of an SearchResponse is optional. If you don't provide
it while indexing it is not in the SearchResponse
2017-08-15 10:53:13 +02:00
doomsower
a9ed4cd4b9 [@types/googlemaps] Improve some Data and Geometry definitions 2017-08-15 11:28:29 +03:00
Dimitri Benin
911957ebf4 [on-finished] improve typings, enable strict null checks & linting 2017-08-15 10:22:47 +02:00
Dimitri Benin
febeac2976 [vary] add typings 2017-08-15 09:36:23 +02:00
Dimitri Benin
c3934de22b [proxy-addr] add typings 2017-08-15 08:53:43 +02:00
Chuang Yu
90868bf24a update @types/react-test-renderer index.d.ts
fix #18953
2017-08-15 11:38:57 +08:00
sanjaymadane
d8356c7e97 Review comments addressed 2017-08-15 11:20:21 +08:00
Danny Cochran
3342c4d879 remove trailing white space 2017-08-14 17:55:53 -07:00
Danny Cochran
0380922eb5 update react-redux connect options
The existing Options had a redundant "withRef" parameter (it was already inheriting from ConnectOptions), and were missing some helper functions for diffing state and props:

fd81f1812c/docs/api.md (arguments)
2017-08-14 17:52:23 -07:00