fix: monorepo typing

This commit is contained in:
Simon
2025-12-16 01:30:40 +08:00
parent 9351948794
commit 54eb50f7be
3 changed files with 18 additions and 6 deletions

View File

@@ -11,11 +11,17 @@
"@/*": ["src/*"],
// Simplified monorepo solution (raw npm workspace with hoisting)
"page-agent": ["../page-agent/src/PageAgent.ts"],
"@page-agent/page-controller": ["../page-controller/src/PageController.ts"],
"page-agent": ["../page-agent/src/PageAgent.ts"]
"@page-agent/ui": ["../ui/src/index.ts"]
}
},
"include": ["**/*.ts", "**/*.tsx"],
"exclude": ["dist", "node_modules"],
"references": [{ "path": "../page-controller" }, { "path": "../page-agent" }]
"references": [
//
{ "path": "../page-agent" },
{ "path": "../page-controller" },
{ "path": "../ui" }
]
}