Skip to content

B-7237-app-frame-docpagedecl-duplicate-export

DocPageDecl has two export sites in packages/ts/app-frame: it is declared in app/composables/useContributions.ts:139 and re-exported by app/composables/useDocs.ts:20. Nuxt’s auto-import scanner sees the same name from two modules and emits a duplicated-auto-import warning, so every build in the fleet that composes app-frame carries it.

Trivial, and unrelated to any markdown work — filed because warning noise in build output is what trains people to stop reading build output. The fix is to pick one home: either drop the export type { DocPageDecl } re-export from useDocs.ts and have consumers import from useContributions.ts, or move the declaration into useDocs.ts and re-export the other way.


← Back to Backlog