From 925b997849151501d1663d40b1dc799b27dbff1c Mon Sep 17 00:00:00 2001 From: sebastien Date: Thu, 26 Dec 2024 12:39:17 +0100 Subject: [PATCH] fix typing --- .../src/utils/useThemeConfig.ts | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/docusaurus-theme-common/src/utils/useThemeConfig.ts b/packages/docusaurus-theme-common/src/utils/useThemeConfig.ts index 4b0c61202e00..f9e13eaa1648 100644 --- a/packages/docusaurus-theme-common/src/utils/useThemeConfig.ts +++ b/packages/docusaurus-theme-common/src/utils/useThemeConfig.ts @@ -74,6 +74,12 @@ export type FooterLinkItem = { prependBaseUrlToHref?: string; } & {[key: string]: unknown}; +export type FooterColumnItem = { + title: string | null; + className?: string; + items: FooterLinkItem[]; +}; + export type FooterLogo = BaseLogo; export type FooterBase = { @@ -82,12 +88,6 @@ export type FooterBase = { copyright?: string; }; -export type FooterColumnItem = { - title: string | null; - className?: string; - items: FooterLinkItem[]; -}; - export type MultiColumnFooter = FooterBase & { links: FooterColumnItem[]; };