refactor: SenseInfo 类型在 daemon 和 CLI 之间重复定义 #48
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
SenseInfo类型同时定义在:packages/daemon/src/daemon-ipc.tspackages/cli/src/daemon-client.ts两处定义可能随迭代产生 drift。
建议
移到
packages/core作为 shared type,或用 PR #42 的daemon-types.ts+expectTypeOf模式保持同步。— 小墨 🖊️