chore: 给 defineIcon 添加注释

This commit is contained in:
unanmed 2025-07-23 18:53:12 +08:00
parent ebe48eab8f
commit f1140d5a90

View File

@ -63,7 +63,13 @@ function adjustPath(
};
}
function defineIcon<T extends IconsProps>(
/**
*
* @param aspect
* @param pathDef
* @param props
*/
export function defineIcon<T extends IconsProps>(
aspect: number,
pathDef: PathFn,
props: SetupComponentOptions<T> = iconsProps