feat: 🎸 utils 的定义中增加对于 function 类型的支持

This commit is contained in:
牧毅 2021-01-04 10:23:28 +08:00
parent 84ef7007de
commit 29b1dafb0f

View File

@ -14,14 +14,4 @@ export type ExternalUtils = {
};
export type UtilItem = InternalUtils | ExternalUtils;
export type UtilsMap = Array<
| {
name: string;
type: 'npm';
content: NpmInfo;
}
| {
name: string;
type: '';
}
>;
export type UtilsMap = UtilItem[];