fix(ingestion): merge duplicate JSDoc on collectImportsDts

Two consecutive JSDoc blocks preceded collectImportsDts; tooling (IDEs,
TypeDoc) attaches only the last one, silently dropping the descriptive block.
Fold the "returns true when read" line into the descriptive block as a
`@returns` tag.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01T4W25WLfYD1JNy8icxeLPU
This commit is contained in:
Gergo Magyar 2026-06-24 08:48:59 +00:00
parent 585d497283
commit fe24618814

View file

@ -162,8 +162,9 @@ export function isNitroServerRuntimeFile(filePath: string): boolean {
* (starts with `./` or `../` AND does not contain `node_modules`) are
* included. Nuxt runtime paths (`#app/...`) and third-party packages are
* intentionally skipped because they have no graph nodes in the repo.
*
* @returns true when `.nuxt/imports.d.ts` was successfully read.
*/
/** Returns true when `.nuxt/imports.d.ts` was successfully read. */
async function collectImportsDts(
repoRoot: string,
byLocalName: Map<string, NuxtAutoImportEntry>,