Skip to content

Commit

Permalink
fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
slorber committed Dec 26, 2024
1 parent 59d285b commit b694769
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions packages/docusaurus-theme-common/src/utils/useThemeConfig.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 & {
Expand Down

0 comments on commit b694769

Please sign in to comment.