Context
package.json exports the root plus ./config, ./errors, ./http, ./models, and ./types, and the existing subpath checks only assert that the subpath files resolve to real files. Nothing verifies that a symbol importable from the root is also importable from its natural subpath, which is how the ./errors surface drifted from what docs/subpath-imports.md documents.
Proposed Change
Add a parity test that imports the public surface from the root entry and, for each subpath, verifies the documented/expected symbols are present in the matching built declaration file or are importable from that subpath.
Acceptance Criteria
Suggested Label
tests
ETA: 24 hours
Context
package.jsonexports the root plus./config,./errors,./http,./models, and./types, and the existing subpath checks only assert that the subpath files resolve to real files. Nothing verifies that a symbol importable from the root is also importable from its natural subpath, which is how the./errorssurface drifted from whatdocs/subpath-imports.mddocuments.Proposed Change
Add a parity test that imports the public surface from the root entry and, for each subpath, verifies the documented/expected symbols are present in the matching built declaration file or are importable from that subpath.
Acceptance Criteria
./errors)./config,./http,./models, and./typesonce aligneddistso it exercises the realexportsmapSuggested Label
tests
ETA: 24 hours