generated from thzxcx/vue3
32 lines
858 B
TypeScript
32 lines
858 B
TypeScript
/*
|
|
* @Author: peerless_hero peerless_hero@outlook.com
|
|
* @Date: 2023-07-13 04:11:13
|
|
* @LastEditors: zhaojinfeng 121016171@qq.com
|
|
* @LastEditTime: 2023-07-13 10:58:35
|
|
* @FilePath: \uni\utils\resolver.d.ts
|
|
* @Description:
|
|
*
|
|
*/
|
|
type ComponentResolveResult = {
|
|
|
|
}
|
|
interface ImportInfo {
|
|
as?: string;
|
|
name?: string;
|
|
from: string;
|
|
}
|
|
type SideEffectsInfo = (ImportInfo | string)[] | ImportInfo | string | undefined;
|
|
interface ComponentInfo extends ImportInfo {
|
|
sideEffects?: SideEffectsInfo;
|
|
}
|
|
type ComponentResolverFunction = (name: string) => ComponentResolveResult;
|
|
|
|
/** ThUi 自动导入解析器 */
|
|
export const resolverThzxcx: ComponentResolverFunction
|
|
|
|
/** thorui-uni 自动导入解析器 */
|
|
export const resolverTui: ComponentResolverFunction
|
|
|
|
/** uni-ui 自动导入解析器 */
|
|
export const resolveruUniUi: ComponentResolverFunction
|