From 4903a7f8dcea7ceaf712bde287a438cf34a120d6 Mon Sep 17 00:00:00 2001 From: Nicholas Margaritondo Date: Tue, 26 Mar 2024 12:43:43 -0500 Subject: [PATCH] updated-RichTextElement-with-generic-type-parameter --- lib/elements/elements.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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;