diff --git a/packages/docusaurus-theme-common/src/utils/useThemeConfig.ts b/packages/docusaurus-theme-common/src/utils/useThemeConfig.ts index ebbf060e1f9c..4b0c61202e00 100644 --- a/packages/docusaurus-theme-common/src/utils/useThemeConfig.ts +++ b/packages/docusaurus-theme-common/src/utils/useThemeConfig.ts @@ -82,11 +82,14 @@ export type FooterBase = { copyright?: string; }; +export type FooterColumnItem = { + title: string | null; + className?: string; + items: FooterLinkItem[]; +}; + export type MultiColumnFooter = FooterBase & { - links: { - title: string | null; - items: FooterLinkItem[]; - }[]; + links: FooterColumnItem[]; }; export type SimpleFooter = FooterBase & {