diff --git a/cocos/asset/asset-manager/deprecated.ts b/cocos/asset/asset-manager/deprecated.ts index 0600725d42f..248fc2f858e 100644 --- a/cocos/asset/asset-manager/deprecated.ts +++ b/cocos/asset/asset-manager/deprecated.ts @@ -34,8 +34,7 @@ import dependUtil from './depend-util'; import downloader from './downloader'; import { Downloader } from './downloader'; import { getUuidFromURL, transform } from './helper'; -import parser from './parser'; -import { Parser } from './parser'; +import parser, { Parser } from './parser'; import { releaseManager } from './release-manager'; import { assets, BuiltinBundleName, bundles } from './shared'; import { parseLoadResArgs, setDefaultProgressCallback } from './utilities'; diff --git a/cocos/asset/asset-manager/downloader.ts b/cocos/asset/asset-manager/downloader.ts index b7b841f98fa..cb7ff26b040 100644 --- a/cocos/asset/asset-manager/downloader.ts +++ b/cocos/asset/asset-manager/downloader.ts @@ -26,8 +26,7 @@ import { BUILD, EDITOR, EDITOR_NOT_IN_PREVIEW } from 'internal:constants'; import { sys, js, misc, path } from '../../core'; import { cclegacy } from '@base/global'; import Cache from './cache'; -import downloadFile from './download-file'; -import { FileProgressCallback } from './download-file'; +import downloadFile, { FileProgressCallback } from './download-file'; import downloadScript from './download-script'; import { files } from './shared'; import { retry, RetryFunction, urlAppendTimestamp } from './utilities';