Remove flow

This commit is contained in:
Sam Goldman
2016-03-01 21:02:55 -08:00
parent f4197cc77b
commit 2827ff6b01
75 changed files with 278 additions and 542 deletions

View File

@@ -1,6 +1,6 @@
export default function ({ types: t }) {
function hasSpread(node) {
for (let prop of (node.properties: Array<Object>)) {
for (let prop of node.properties) {
if (t.isSpreadProperty(prop)) {
return true;
}
@@ -24,7 +24,7 @@ export default function ({ types: t }) {
props = [];
}
for (let prop of (path.node.properties: Array)) {
for (let prop of path.node.properties) {
if (t.isSpreadProperty(prop)) {
push();
args.push(prop.argument);