Problem
Both declaration loaders are stubs that return error.NotImplemented, even though the resolver already accepts .hm, .home and .d.hm. The Home checker swallows import errors and types imported namespaces as Void, so no cross-module call is checked, and HM1001 (cross-frontend type mismatch) is never emitted. TS_PARITY_PLAN.md promises two-way checked imports.
Evidence (origin/main @ d4b219507)
packages/d_hm/src/d_hm.zig:1003-1010packages/d_ts/src/d_ts.zig:112-118packages/ts_resolver/src/ts_resolver.zig:90packages/types/src/type_system.zig:975-996docs/docs/TS_PARITY_PLAN.md:3141
Scope
- Implement
d_hm.Loader(Home decls → TS checker types) andd_ts.Loader(TS decls → Home types). - Define the type mapping (numbers, strings, Result/optional ↔ union with undefined, structs ↔ object types).
- Emit
HM1001on a cross-frontend mismatch.
Acceptance criteria
- A
.tsfile calling a Home function with a wrong argument type gets an error. - A
.homefile calling a TS export with a wrong argument type gets an error. - Round-trip tests for the type mapping.