/** * @see DefaultTheme.getMapping * Return the template mapping for the given reflection. * * @param reflection The reflection whose mapping should be resolved. * @returns The found mapping or undefined if no mapping could be found. */ static getMapping(reflection: DeclarationReflection): TemplateMapping | undefined { return MarkdownTheme.MAPPINGS.find((mapping) => reflection.kindOf(mapping.kind)); }