diff --git a/packages/docusaurus-theme-classic/src/types.d.ts b/packages/docusaurus-theme-classic/src/types.d.ts index 1ca6fbe4cb7d..1a0f971280c0 100644 --- a/packages/docusaurus-theme-classic/src/types.d.ts +++ b/packages/docusaurus-theme-classic/src/types.d.ts @@ -23,7 +23,7 @@ declare module '@theme/Admonition' { readonly icon?: ReactNode; readonly title?: string; } - export default AnnouncementBar; + export default function Admonition(props: Props): JSX.Element; } declare module '@theme/AnnouncementBar' {