diff --git a/lib/elements/elements.ts b/lib/elements/elements.ts index 77cff611..4609cb66 100644 --- a/lib/elements/elements.ts +++ b/lib/elements/elements.ts @@ -22,28 +22,28 @@ export namespace Elements { displayTimeZone: string | null; }; - export type RichTextElement = ElementModels.IElement & { + export type RichTextElement = ElementModels.IElement & { /** * Links */ links: ILink[]; - + /** * Images included within rich text element */ images: IRichTextImage[]; - + /** * Array of linked item codenames */ linkedItemCodenames: string[]; - + /** * Array of linked items retrieved from `modular_content` part of the response. Not all items might be here * as it depends on the `depth` parameter of query. * The `linkedItemsReferenceHandler` configuration can be used to disable mapping of linked items */ - linkedItems: IContentItem[]; + linkedItems: TContentItem[]; }; export type NumberElement = ElementModels.IElement;