Appearance
getBiggestThumbnailUrl ​
Definition ​
Returns the biggest thumbnail url from the media object
Signature ​
ts
export function getBiggestThumbnailUrl<
  T extends {
    thumbnails?: Array<{
      width: number;
      url: string;
    }>;
  },
>(media?: T): string | undefined 
Parameters ​
| Name | Type | Description | 
|---|---|---|
| media | T | image object | 
Return type ​
ts
string | undefined