mirror of
https://github.com/status-im/metro.git
synced 2025-02-01 22:05:52 +00:00
Minor refactor moving a line
Reviewed By: rafeca Differential Revision: D7180929 fbshipit-source-id: 94dd062ffd05f22e67c7d913f6d6e04c24a4c8ec
This commit is contained in:
parent
a4c417a1c5
commit
091815ea81
@ -13,14 +13,13 @@
|
||||
const path = require('path');
|
||||
|
||||
const {DuplicateHasteCandidatesError} = require('jest-haste-map').ModuleMap;
|
||||
const {formatFileCandidates, InvalidPackageError} = require('metro-resolver');
|
||||
|
||||
import type DependencyGraphHelpers from './DependencyGraphHelpers';
|
||||
import type {Options as TransformWorkerOptions} from '../../JSTransformer/worker';
|
||||
import type {ReadResult, CachedReadResult} from '../Module';
|
||||
import type {ModuleResolver} from './ModuleResolution';
|
||||
|
||||
const {InvalidPackageError, formatFileCandidates} = require('metro-resolver');
|
||||
|
||||
export type Packageish = {
|
||||
isHaste(): boolean,
|
||||
getName(): string,
|
||||
|
Loading…
x
Reference in New Issue
Block a user