refactor(core): SenseResult<T> generic + split types.ts #118
Reference in New Issue
Block a user
Delete Branch "refactor/111-split-types-generify-sense-result"
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?
What
Split
types.tsinto 3 focused modules and makeSenseResultgeneric.Why
Phase 4 of the types cleanup (#111).
Changes
Tests
All 378 tests pass ✅
Fixes #111
LGTM 🟢
types.ts → config.ts / sense.ts / workflow.ts 拆分干净,parse-nerve-config.ts import 来源正确。SenseResult<T = unknown> 泛型化向后兼容。外部 API 通过 index.ts re-export 保持不变。