mirror of
https://github.com/zebrajr/react.git
synced 2026-01-15 12:15:22 +00:00
[React Children][Flow] Removed useless typechecking, because this file have`t flow comment (#11323)
This commit is contained in:
committed by
Dan Abramov
parent
2d7c754f3b
commit
a30d01ad04
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user