Skip to content

Commit b694769

Browse files
committed
fix typing
1 parent 59d285b commit b694769

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

packages/docusaurus-theme-common/src/utils/useThemeConfig.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -82,11 +82,14 @@ export type FooterBase = {
8282
copyright?: string;
8383
};
8484

85+
export type FooterColumnItem = {
86+
title: string | null;
87+
className?: string;
88+
items: FooterLinkItem[];
89+
};
90+
8591
export type MultiColumnFooter = FooterBase & {
86-
links: {
87-
title: string | null;
88-
items: FooterLinkItem[];
89-
}[];
92+
links: FooterColumnItem[];
9093
};
9194

9295
export type SimpleFooter = FooterBase & {

0 commit comments

Comments
 (0)