@samitouri / QOS-React / commits / a30d01ad04

[React Children][Flow] Removed useless typechecking, because this file have`t flow comment (#11323)

Vladimir Tsibizow committed Oct 22, 2017 at 16:14 UTC a30d01ad0400dec7f06ebe8b4ea6f2b6fbf5534f
1 file changed +1 -1
packages/react/src/ReactChildren.js
+1 -1
@@ -36,7 +36,7 @@ var SUBSEPARATOR = ':';
36 * @param {string} key to be escaped.
37 * @return {string} the escaped key.
38 */
39 -function escape(key: string): string {
39 +function escape(key) {
40 var escapeRegex = /[=:]/g;
41 var escaperLookup = {
42 '=': '=0',