From fe24618814b20c0757bf6f5efd773355920c5969 Mon Sep 17 00:00:00 2001 From: Gergo Magyar Date: Wed, 24 Jun 2026 08:48:59 +0000 Subject: [PATCH] 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) Claude-Session: https://claude.ai/code/session_01T4W25WLfYD1JNy8icxeLPU --- .../core/ingestion/languages/typescript/nuxt-auto-imports.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gitnexus/src/core/ingestion/languages/typescript/nuxt-auto-imports.ts b/gitnexus/src/core/ingestion/languages/typescript/nuxt-auto-imports.ts index f42efdf20..90253a533 100644 --- a/gitnexus/src/core/ingestion/languages/typescript/nuxt-auto-imports.ts +++ b/gitnexus/src/core/ingestion/languages/typescript/nuxt-auto-imports.ts @@ -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,