Skip to content
On this page

getCategoryUrl ​

Definition ​

Get URL for category. Some link

Signature ​

ts
export function getCategoryUrl<
  T extends {
    type: string;
    externalLink?: string;
    seoUrls?: { seoPathInfo: string }[];
    internalLink?: string;
    id: string;
    linkType?: string;
  },
>(category: T): string 

Parameters ​

NameTypeDescription
category
T
category entity

Return type ​

ts
string
getCategoryUrl has loaded