declaration-build.ts view source
DeclarationAnalysis import type {DeclarationAnalysis} from 'svelte-docinfo/declaration-build.js'; Result of analyzing a single declaration.
Produced by analyzeDeclaration (in typescript-exports.ts) and Svelte component analysis.
Used by analyzeModule to filter @nodocs declarations before output.
Uses DeclarationJsonBuild (not DeclarationJsonInput) because declarations
are constructed incrementally — Zod validation happens at the ModuleJson.parse() boundary.
declaration
The analyzed declaration metadata (pre-validation).
type DeclarationJsonBuild
nodocs
Whether the declaration is marked @nodocs (should be excluded from documentation).
type boolean