Skip to content

Commit

Permalink
feat(types): update AssestsJson type
Browse files Browse the repository at this point in the history
  • Loading branch information
knight.chen committed Nov 4, 2023
1 parent 236fe42 commit 747401b
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,17 +1,21 @@
import { Asset } from '../../assets';
import { IPublicTypeComponentMetadata, IPublicTypeReference } from './';

/**
* 远程物料描述
*/
export interface IPublicTypeRemoteComponentDescription extends IPublicTypeComponentMetadata {

/**
* 组件描述导出名字,可以通过 window[exportName] 获取到组件描述的 Object 内容;
*/
exportName?: string;

/**
* 组件描述的资源链接;
*/
url?: string;
url?: Asset;

/**
* 组件 (库) 的 npm 信息;
*/
Expand Down

0 comments on commit 747401b

Please sign in to comment.