export interface Breadcrumb { link : string ; title : string ; } export function compileBreadcrumbs ( { prefix = '' , breadcrumbs } ) { return breadcrumbs . map ( b => ( { link : prefix + b . link , title : b . title , } ) ) ; }