Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow
mixed
args to string.prototype.concat()
According to MDN docs for the `concat()` method of the `String` type: > If the arguments are not of the type string, they are converted to string > values before concatenating. Passing numbers, objects, etc to `String.prototype.concat` is is valid JS behavior but causes an error in Flow. It's also blocking facebook/react#22064. This commit changes the arg type: `Array<string>` -> `Array<mixed>`.
- Loading branch information