Remove remaining @flow annotations

This commit is contained in:
Amjad Masad
2016-03-03 15:10:59 -08:00
parent 12ee11a0a4
commit 2fbe28cc88
40 changed files with 0 additions and 72 deletions

View File

@@ -1,4 +1,3 @@
/* @flow */
/* eslint indent: 0 */
/* eslint max-len: 0 */

View File

@@ -1,5 +1,3 @@
/* @flow */
import merge from "lodash/object/merge";
export default function (dest?: Object, src?: Object): ?Object {

View File

@@ -1,5 +1,3 @@
/* @flow */
import * as t from "babel-types";
/**

View File

@@ -1,5 +1,3 @@
/* @flow */
import * as parsers from "./parsers";
import config from "./config";

View File

@@ -1,5 +1,3 @@
/* @flow */
import slash from "slash";
import * as util from "../../../util";

View File

@@ -1,5 +1,3 @@
/* @flow */
import Plugin from "../plugin";
import sortBy from "lodash/collection/sortBy";

View File

@@ -1,7 +1,3 @@
/* @flow */
/* global BabelFileResult */
/* global BabelFileMetadata */
import normalizeAst from "../helpers/normalize-ast";
import Plugin from "./plugin";
import File from "./file";

View File

@@ -1,5 +1,3 @@
/* @flow */
import escapeRegExp from "lodash/string/escapeRegExp";
import startsWith from "lodash/string/startsWith";
import isBoolean from "lodash/lang/isBoolean";

View File

@@ -1,5 +1,3 @@
/* @flow */
import type Position from "./position";
import repeating from "repeating";
import trimRight from "trim-right";

View File

@@ -1,5 +1,3 @@
/* @flow */
export function File(node: Object) {
this.print(node.program, node);
}

View File

@@ -1,5 +1,3 @@
/* @flow */
export function ClassDeclaration(node: Object) {
this.printJoin(node.decorators, node, { separator: "" });
this.push("class");

View File

@@ -1,4 +1,3 @@
/* @flow */
/* eslint max-len: 0 */
import isInteger from "is-integer";

View File

@@ -1,4 +1,3 @@
/* @flow */
/* eslint max-len: 0 */
import * as t from "babel-types";

View File

@@ -1,5 +1,3 @@
/* @flow */
export function JSXAttribute(node: Object) {
this.print(node.name, node);
if (node.value) {

View File

@@ -1,5 +1,3 @@
/* @flow */
import * as t from "babel-types";
export function _params(node: Object) {

View File

@@ -1,5 +1,3 @@
/* @flow */
import * as t from "babel-types";
export function ImportSpecifier(node: Object) {

View File

@@ -1,5 +1,3 @@
/* @flow */
export function TaggedTemplateExpression(node: Object) {
this.print(node.tag, node);
this.print(node.quasi, node);

View File

@@ -1,4 +1,3 @@
/* @flow */
/* eslint max-len: 0 */
/* eslint quotes: 0 */

View File

@@ -1,5 +1,3 @@
/* @flow */
import * as t from "babel-types";
const PRECEDENCE = {

View File

@@ -1,5 +1,3 @@
/* @flow */
/**
* Track current position in code generation.
*/

View File

@@ -1,5 +1,3 @@
/* @flow */
import pull from "lodash/array/pull";
import * as t from "babel-types";

View File

@@ -1,4 +1,3 @@
/* @flow */
/* eslint max-len: 0 */
import * as util from "util";

View File

@@ -1,5 +1,3 @@
/* @flow */
import deepClone from "lodash/lang/cloneDeep";
import sourceMapSupport from "source-map-support";
import * as registerCache from "./cache";

View File

@@ -1,4 +1,3 @@
/* @flow */
/* eslint max-len: 0 */
import * as t from "../index";

View File

@@ -1,4 +1,3 @@
/* @flow */
/* eslint max-len: 0 */
import defineType, {

View File

@@ -1,5 +1,3 @@
/* @flow */
import defineType, { assertNodeType } from "./index";
defineType("AwaitExpression", {

View File

@@ -1,5 +1,3 @@
/* @flow */
import defineType from "./index";
defineType("AnyTypeAnnotation", {

View File

@@ -1,5 +1,3 @@
/* @flow */
import defineType, { assertNodeType, assertValueType, chain, assertEach } from "./index";
defineType("JSXAttribute", {

View File

@@ -1,5 +1,3 @@
/* @flow */
import defineType, { assertNodeType } from "./index";
defineType("Noop", {

View File

@@ -1,5 +1,3 @@
/* @flow */
import * as t from "./index";
/**

View File

@@ -1,5 +1,3 @@
/* @flow */
import toFastProperties from "to-fast-properties";
import compact from "lodash/array/compact";
import loClone from "lodash/lang/clone";

View File

@@ -1,5 +1,3 @@
/* @flow */
import * as t from "./index";
export let isReactComponent = t.buildMatchMemberExpression("React.Component");

View File

@@ -1,5 +1,3 @@
/* @flow */
import * as t from "./index";
/**

View File

@@ -1,4 +1,3 @@
/* @flow */
/* eslint indent: 0 */
import { getBindingIdentifiers } from "./retrievers";

View File

@@ -1,4 +1,3 @@
/* @flow */
// A second optional argument can be given to further configure
// the parser process. These options are recognized:

View File

@@ -1,4 +1,3 @@
/* @flow */
/* eslint max-len: 0 */
/**

View File

@@ -1,5 +1,3 @@
/* @flow */
import { reservedWords } from "../util/identifier";
import { getOptions } from "../options";
import Tokenizer from "../tokenizer";

View File

@@ -1,5 +1,3 @@
/* @flow */
import { types as tt } from "../tokenizer/types";
import Parser from "./index";
import { lineBreak } from "../util/whitespace";

View File

@@ -1,5 +1,3 @@
/* @flow */
// The algorithm used to determine whether a regexp can appear at a
// given point in the program is loosely based on sweet.js' approach.
// See https://github.com/mozilla/sweet.js/wiki/design

View File

@@ -1,5 +1,3 @@
/* @flow */
// Matches a whole line break (where CRLF is considered a single
// line break). Used to count lines.