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

This commit is contained in:
Vladimir Tsibizow 2017-10-22 16:14:13 +03:00 committed by Dan Abramov
parent 2d7c754f3b
commit a30d01ad04
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ var SUBSEPARATOR = ':';
* @param {string} key to be escaped.
* @return {string} the escaped key.
*/
function escape(key: string): string {
function escape(key) {
var escapeRegex = /[=:]/g;
var escaperLookup = {
'=': '=0',