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

@@ -23,7 +23,7 @@ export default function ({ types: t }) {
let { file } = state;
let id = state.opts.pragma || "React.createElement";
for (let comment of (file.ast.comments: Array<Object>)) {
for (let comment of file.ast.comments) {
let matches = JSX_ANNOTATION_REGEX.exec(comment.value);
if (matches) {
id = matches[1];