Skip to content

Commit 7d0d35c

Browse files
committed
docs: coderabbit suggestion
1 parent bb56905 commit 7d0d35c

19 files changed

Lines changed: 26 additions & 23 deletions

File tree

apps/docs/docs/components/accordion/ng-doc.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ const Accordion: NgDocPage = {
3636
{ title: 'Accordion item content', content: toIndentedJson(flowbiteAccordionItemTheme) },
3737
{ title: 'Accordion title theme', content: toIndentedJson(flowbiteAccordionTitleTheme) },
3838
{ title: 'Accordion content', content: toIndentedJson(flowbiteAccordionContentTheme) },
39-
] as DocThemes,
39+
] satisfies DocThemes,
4040
},
4141
};
4242

apps/docs/docs/components/alert/ng-doc.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const Alert: NgDocPage = {
3434
{ title: 'Alert theme', content: toIndentedJson(flowbiteAlertTheme) },
3535
{ title: 'Alert content theme', content: toIndentedJson(flowbiteAlertContentTheme) },
3636
{ title: 'Alert button theme', content: toIndentedJson(flowbiteAlertButtonTheme) },
37-
] as DocThemes,
37+
] satisfies DocThemes,
3838
},
3939
};
4040

apps/docs/docs/components/badge/ng-doc.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const Badge: NgDocPage = {
3434
{ title: 'Badge', content: toIndentedJson(flowbiteBadgeTheme) },
3535
{ title: 'Badge link', content: toIndentedJson(flowbiteBadgeLinkTheme) },
3636
{ title: 'Badge button', content: toIndentedJson(flowbiteBadgeButtonTheme) },
37-
] as DocThemes,
37+
] satisfies DocThemes,
3838
},
3939
};
4040

apps/docs/docs/components/breadcrumb/ng-doc.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Breadcrumb: NgDocPage = {
2626
{ title: 'Breadcrumb', content: toIndentedJson(flowbiteBreadcrumbTheme) },
2727
{ title: 'Breadcrumb content', content: toIndentedJson(flowbiteBreadcrumbContentTheme) },
2828
{ title: 'Breadcrumb item', content: toIndentedJson(flowbiteBreadcrumbItemTheme) },
29-
] as DocThemes,
29+
] satisfies DocThemes,
3030
},
3131
};
3232

apps/docs/docs/components/button/ng-doc.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ const Button: NgDocPage = {
3030
flowbiteGroupComponent: FlowbiteGroupComponent,
3131
},
3232
data: {
33-
themes: [{ title: 'Button', content: toIndentedJson(flowbiteButtonTheme) }] as DocThemes,
33+
themes: [{ title: 'Button', content: toIndentedJson(flowbiteButtonTheme) }] satisfies DocThemes,
3434
},
3535
};
3636

apps/docs/docs/components/card/ng-doc.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Card: NgDocPage = {
2626
{ title: 'Card content', content: toIndentedJson(flowbiteCardContentTheme) },
2727
{ title: 'Card header', content: toIndentedJson(flowbiteCardHeaderTheme) },
2828
{ title: 'Card', content: toIndentedJson(flowbiteCardTheme) },
29-
] as DocThemes,
29+
] satisfies DocThemes,
3030
},
3131
};
3232

apps/docs/docs/components/clipboard/ng-doc.page.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ const Clipboard: NgDocPage = {
1818
flowbiteDefaultComponent: FlowbiteDefaultComponent,
1919
},
2020
data: {
21-
themes: [{ title: 'Clipboard', content: toIndentedJson(flowbiteClipboardTheme) }] as DocThemes,
21+
themes: [
22+
{ title: 'Clipboard', content: toIndentedJson(flowbiteClipboardTheme) },
23+
] satisfies DocThemes,
2224
},
2325
};
2426

apps/docs/docs/components/dropdown/ng-doc.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const Dropdown: NgDocPage = {
2626
{ title: 'Dropdown content', content: toIndentedJson(flowbiteDropdownContentTheme) },
2727
{ title: 'Dropdown item', content: toIndentedJson(flowbiteDropdownItemTheme) },
2828
{ title: 'Dropdown', content: toIndentedJson(flowbiteDropdownTheme) },
29-
] as DocThemes,
29+
] satisfies DocThemes,
3030
},
3131
};
3232

apps/docs/docs/components/icon/ng-doc.page.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const Icon: NgDocPage = {
1818
flowbiteDefaultComponent: FlowbiteDefaultComponent,
1919
},
2020
data: {
21-
themes: [{ title: 'Icon', content: toIndentedJson(flowbiteIconTheme) }] as DocThemes,
21+
themes: [{ title: 'Icon', content: toIndentedJson(flowbiteIconTheme) }] satisfies DocThemes,
2222
},
2323
};
2424

apps/docs/docs/components/indicator/ng-doc.page.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ const Indicator: NgDocPage = {
1818
flowbiteDefaultComponent: FlowbiteDefaultComponent,
1919
},
2020
data: {
21-
themes: [{ title: 'Indicator', content: toIndentedJson(flowbiteIndicatorTheme) }] as DocThemes,
21+
themes: [
22+
{ title: 'Indicator', content: toIndentedJson(flowbiteIndicatorTheme) },
23+
] satisfies DocThemes,
2224
},
2325
};
2426

0 commit comments

Comments
 (0)