-
Notifications
You must be signed in to change notification settings - Fork 9
Open
Description
背景
Deepractice monorepo 改为 source-first 模式后(开源包 main/exports 指向 src 而非 dist),Next.js strict typecheck 编译开源包源码,暴露了多处类型问题。
目前临时处理
- monogent/www 加了
typescript.ignoreBuildErrors: true跳过 image.ts用了as ImageRecord断言AgentHandle.send补了返回类型
需要修复
presentations.ts:32—Presentation接口缺少onUpdate- handler params 断言 — 都是
as { ... }手动断言,应该用泛型约束 image.tsupdatedRecord — spread 后 optional/required 字段类型不兼容
预期
去掉 ignoreBuildErrors: true 后 bun turbo build strict 模式零错误。
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels