analyzeSourceTypes
analyzeSourceTypes(
options,sourceTypeNames):Record<string,AttributeNode>
Defined in: metadata-parser.ts:72
Analyze multiple named source types from a TypeScript module.
Parameters
Section titled “Parameters”options
Section titled “options”Metadata analysis options including the optional project root and the relative types file path to parse.
projectRoot?
Section titled “projectRoot?”string
typesFile
Section titled “typesFile”string
sourceTypeNames
Section titled “sourceTypeNames”string[]
Exported type or interface names to resolve from the configured types file.
Returns
Section titled “Returns”Record<string, AttributeNode>
A record keyed by source type name with parsed attribute-node trees for each requested type.