We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2432aed commit 4d6dfe9Copy full SHA for 4d6dfe9
1 file changed
packages/utils/src/asset.ts
@@ -1,11 +1,10 @@
1
-import { AssetType, AssetLevels, AssetLevel } from '@alilc/lowcode-types';
2
-import type { AssetItem, Asset, AssetList, AssetBundle, AssetsJson } from '@alilc/lowcode-types';
+import { AssetItem, AssetType, AssetLevels, Asset, AssetList, AssetBundle, AssetLevel, AssetsJson } from '@alilc/lowcode-types';
3
import { isCSSUrl } from './is-css-url';
4
import { createDefer } from './create-defer';
5
import { load, evaluate } from './script';
6
7
// API 向下兼容
8
-export { AssetType, AssetLevels, AssetLevel } from '@alilc/lowcode-types';
+export { AssetItem, AssetType, AssetLevels, Asset, AssetList, AssetBundle, AssetLevel, AssetsJson } from '@alilc/lowcode-types';
9
10
export function isAssetItem(obj: any): obj is AssetItem {
11
return obj && obj.type;
0 commit comments