Skip to content

Commit b090b76

Browse files
committed
fix(utils): 🩹 更新 callerId 注释,明确调用方绝对路径的说明
1 parent 022b1e1 commit b090b76

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

packages/utils/types/importGlob.d.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ export interface ProjectOptions {
66
*/
77
root?: string
88
/**
9-
* 由哪个文件导入,需要手动指定 `import.meta.url`
9+
* 由哪个文件导入,调用方的绝对路径
10+
* @description 可选,如果不传则会自动获取
11+
* @description 如要手动传递,则必须传入 `import.meta.url`
1012
* @default undefined
1113
*/
1214
callerId?: string

0 commit comments

Comments
 (0)