Reviewed By: gabelevi

Differential Revision: D3949455

fbshipit-source-id: 1cbce4a85fe5b8798496752863bbca64b078aa9c
This commit is contained in:
Jeff Morrison 2016-10-01 11:10:10 -07:00 committed by Facebook Github Bot
parent 86c195b3d8
commit 1a9853da37
5 changed files with 8 additions and 8 deletions

View File

@ -47,11 +47,11 @@ suppress_type=$FlowIssue
suppress_type=$FlowFixMe
suppress_type=$FixMe
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-2]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-2]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(>=0\\.\\(3[0-3]\\|[1-2][0-9]\\|[0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)
suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(>=0\\.\\(3[0-3]\\|1[0-9]\\|[1-2][0-9]\\).[0-9]\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+
suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy
unsafe.enable_getters_and_setters=true
[version]
^0.32.0
^0.33.0

View File

@ -360,7 +360,7 @@ const TextInput = React.createClass({
/**
* The string that will be rendered before text input has been entered.
*/
placeholder: PropTypes.string,
placeholder: PropTypes.node,
/**
* The text color of the placeholder string.
*/
@ -413,7 +413,7 @@ const TextInput = React.createClass({
* Useful for simple use-cases where you do not want to deal with listening
* to events and updating the value prop to keep the controlled state in sync.
*/
defaultValue: PropTypes.string,
defaultValue: PropTypes.node,
/**
* When the clear button should appear on the right side of the text view.
* @platform ios

View File

@ -143,7 +143,7 @@ const View = React.createClass({
* with the element. By default, the label is constructed by traversing all the
* children and accumulating all the `Text` nodes separated by space.
*/
accessibilityLabel: PropTypes.string,
accessibilityLabel: PropTypes.node,
/**
* Indicates to accessibility services to treat UI component like a

View File

@ -27,7 +27,7 @@ declare class Promise<+R> {
static resolve<T>(object?: Promise<T> | T): Promise<T>;
static reject<T>(error?: any): Promise<T>;
static all: Promise$All;
static all<Elem, T:Iterable<Elem>>(promises: T): Promise<$TupleMap<T, typeof $await>>;
static race<T>(promises: Array<Promise<T>>): Promise<T>;
// Non-standard APIs

View File

@ -210,7 +210,7 @@
"eslint-plugin-babel": "^3.2.0",
"eslint-plugin-flow-vars": "^0.2.1",
"eslint-plugin-react": "^4.2.1",
"flow-bin": "^0.32.0",
"flow-bin": "^0.33.0",
"jest": "15.1.0",
"jest-repl": "15.1.0",
"jest-runtime": "15.1.0",