add import types
This commit is contained in:
parent
0abd34f7e6
commit
b6c35743e6
@ -1,3 +1,4 @@
|
||||
import type File from "./index";
|
||||
import buildDebug from "debug/node";
|
||||
|
||||
var verboseDebug = buildDebug("babel:verbose");
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
import type NodePath from "../../traversal/path";
|
||||
import * as messages from "../../messages";
|
||||
import * as t from "../../types";
|
||||
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
import type Transformer from "./transformer";
|
||||
import traverse from "../traversal";
|
||||
import type File from "./file";
|
||||
|
||||
/**
|
||||
* This class is responsible for traversing over the provided `File`s
|
||||
|
||||
@ -1,3 +1,6 @@
|
||||
import type NodePath from "../../../traversal/path";
|
||||
import type Scope from "../../../traversal/scope";
|
||||
import type File from "../../file";
|
||||
import traverse from "../../../traversal";
|
||||
import object from "../../../helpers/object";
|
||||
import * as util from "../../../util";
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
import type NodePath from "../../../traversal/path";
|
||||
import type File from "../../file";
|
||||
import memoiseDecorators from "../../helpers/memoise-decorators";
|
||||
import ReplaceSupers from "../../helpers/replace-supers";
|
||||
import * as nameMethod from "../../helpers/name-method";
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
import type File from "../../transformation/file";
|
||||
import * as virtualTypes from "./lib/virtual-types";
|
||||
import traverse from "../index";
|
||||
import assign from "lodash/object/assign";
|
||||
|
||||
@ -1,3 +1,4 @@
|
||||
import type NodePath from "./index";
|
||||
import * as t from "../../types";
|
||||
|
||||
const BOOLEAN_BINARY_OPERATORS = ["==", "===", "!=", "!==", ">", "<", ">=", "<=", "in"];
|
||||
|
||||
@ -1,4 +1,6 @@
|
||||
import includes from "lodash/collection/includes";
|
||||
import type NodePath from "../path";
|
||||
import type File from "../../transformation/file";
|
||||
import traverse from "../index";
|
||||
import defaults from "lodash/object/defaults";
|
||||
import * as messages from "../../messages";
|
||||
|
||||
@ -3,6 +3,7 @@ import isNumber from "lodash/lang/isNumber";
|
||||
import isRegExp from "lodash/lang/isRegExp";
|
||||
import isString from "lodash/lang/isString";
|
||||
import traverse from "../traversal";
|
||||
import type Scope from "../traversal/scope";
|
||||
import * as t from "./index";
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user