mirror of
https://github.com/alibaba/lowcode-engine.git
synced 2025-12-12 03:01:16 +00:00
Revert "fix: delete unused typescript types"
This reverts commit 2432aed83d55407d2f8b5f94910ada7ea78bb59e.
This commit is contained in:
parent
63f5d2ca3e
commit
141e195931
@ -1,11 +1,10 @@
|
|||||||
import { AssetType, AssetLevels, AssetLevel } from '@alilc/lowcode-types';
|
import { AssetItem, AssetType, AssetLevels, Asset, AssetList, AssetBundle, AssetLevel, AssetsJson } from '@alilc/lowcode-types';
|
||||||
import type { AssetItem, Asset, AssetList, AssetBundle, AssetsJson } from '@alilc/lowcode-types';
|
|
||||||
import { isCSSUrl } from './is-css-url';
|
import { isCSSUrl } from './is-css-url';
|
||||||
import { createDefer } from './create-defer';
|
import { createDefer } from './create-defer';
|
||||||
import { load, evaluate } from './script';
|
import { load, evaluate } from './script';
|
||||||
|
|
||||||
// API 向下兼容
|
// API 向下兼容
|
||||||
export { AssetType, AssetLevels, AssetLevel } from '@alilc/lowcode-types';
|
export { AssetItem, AssetType, AssetLevels, Asset, AssetList, AssetBundle, AssetLevel, AssetsJson } from '@alilc/lowcode-types';
|
||||||
|
|
||||||
export function isAssetItem(obj: any): obj is AssetItem {
|
export function isAssetItem(obj: any): obj is AssetItem {
|
||||||
return obj && obj.type;
|
return obj && obj.type;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user