Skip to content

Commit 8a66970

Browse files
committed
chore: move import check
1 parent f84eeb4 commit 8a66970

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

‎packages/expo-resource-fetcher/src/ResourceFetcher.ts‎

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,15 @@ import {
3232
BaseResourceFetcherClass,
3333
} from 'react-native-executorch';
3434

35+
import { ResourceFetcherUtils, DownloadStatus } from './ResourceFetcherUtils';
36+
import {
37+
type ActiveDownload,
38+
handleObject,
39+
handleLocalFile,
40+
handleAsset,
41+
handleRemote,
42+
} from './handlers';
43+
3544
if (
3645
typeof Directory !== 'function' ||
3746
typeof File !== 'function' ||
@@ -45,14 +54,6 @@ if (
4554
"Import from 'react-native-executorch-expo-resource-fetcher/legacy' instead."
4655
);
4756
}
48-
import { ResourceFetcherUtils, DownloadStatus } from './ResourceFetcherUtils';
49-
import {
50-
type ActiveDownload,
51-
handleObject,
52-
handleLocalFile,
53-
handleAsset,
54-
handleRemote,
55-
} from './handlers';
5657

5758
class ExpoResourceFetcherClass extends BaseResourceFetcherClass<ActiveDownload> {
5859
protected downloads = new Map<ResourceSource, ActiveDownload>();

0 commit comments

Comments
 (0)