From 5fd456927c0cc15281a034d79dca2ba97b5a0671 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ula=C5=9F=20Turan?= Date: Mon, 24 Oct 2022 10:03:41 +0300 Subject: [PATCH] Fix #3503: PaginatorTemplateOptions interface elements should be optional --- components/lib/paginator/paginator.d.ts | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/components/lib/paginator/paginator.d.ts b/components/lib/paginator/paginator.d.ts index 4117f13a22..594a323a0b 100644 --- a/components/lib/paginator/paginator.d.ts +++ b/components/lib/paginator/paginator.d.ts @@ -125,15 +125,15 @@ interface PaginatorJumpToPageInputOptions { } interface PaginatorTemplateOptions { - layout: string; - FirstPageLink: PaginatorFirstPageLinkType; - PrevPageLink: PaginatorPrevPageLinkType; - PageLinks: PaginatorPageLinksType; - NextPageLink: PaginatorNextPageLinkType; - LastPageLink: PaginatorLastPageLinkType; - RowsPerPageDropdown: PaginatorRowsPerPageDropdownType; - CurrentPageReport: PaginatorCurrentPageReportType; - JumpToPageInput: PaginatorJumpToPageInputType; + layout?: string; + FirstPageLink?: PaginatorFirstPageLinkType; + PrevPageLink?: PaginatorPrevPageLinkType; + PageLinks?: PaginatorPageLinksType; + NextPageLink?: PaginatorNextPageLinkType; + LastPageLink?: PaginatorLastPageLinkType; + RowsPerPageDropdown?: PaginatorRowsPerPageDropdownType; + CurrentPageReport?: PaginatorCurrentPageReportType; + JumpToPageInput?: PaginatorJumpToPageInputType; } export type PaginatorTemplate = string | PaginatorTemplateOptions;