react-native/Libraries/Text
Thomas BARRAS 79274979b7 Flow strict TextProps (#22122)
Summary:
Related to #22100

Turn on Flow strict mode for TextProps.
I used ResponseHandlers type definition defined in Text.js.

I wanted to move ResponseHandlers type to TextProps and reuse it inside the file.
I know I could use $Shape<> to maybe keys but how do I elegantly maybe every values ?
Unless having a straightforward solution, I found it clearer to copy paste these types.

- All flow tests succeed.

[GENERAL] [ENHANCEMENT] [TextProps.js] - Flow strict mode
Pull Request resolved: https://github.com/facebook/react-native/pull/22122

Reviewed By: TheSavior

Differential Revision: D13055759

Pulled By: RSNara

fbshipit-source-id: 230b43c7c94d7f82f5727ad11541b0cb98bc5e3a
2018-11-21 14:27:25 -08:00
..
BaseText Fix relayout of inline views (#21968) 2018-10-31 16:13:01 -07:00
RCTText.xcodeproj Update Xcode projects (#19574) 2018-06-19 23:48:12 -07:00
RawText Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Text iOS: Support inline view truncation (#21456) 2018-11-20 00:11:56 -08:00
TextInput Fix issue when inserting text at 0 when maxLength is set 2018-10-16 19:44:28 -07:00
VirtualText Fix relayout of inline views (#21968) 2018-10-31 16:13:01 -07:00
RCTConvert+Text.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTConvert+Text.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTTextAttributes.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTTextAttributes.m Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
RCTTextTransform.h Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Text.js Flow strict TextProps (#22122) 2018-11-21 14:27:25 -08:00
TextAncestor.js Deploy Flow v0.85 to xplat/js 2018-11-02 00:28:28 -07:00
TextPropTypes.js Move and rename StyleSheetPropType to DeprecatedStyleSheetPropType (#21380) 2018-09-27 23:04:20 -07:00
TextProps.js Flow strict TextProps (#22122) 2018-11-21 14:27:25 -08:00
TextStylePropTypes.js Rename and move ViewStylePropTypes (#21415) 2018-10-01 12:19:15 -07:00