diff --git a/packages/docusaurus-module-type-aliases/src/index.d.ts b/packages/docusaurus-module-type-aliases/src/index.d.ts index 09c3f2fb3d59..1f0e7679420a 100644 --- a/packages/docusaurus-module-type-aliases/src/index.d.ts +++ b/packages/docusaurus-module-type-aliases/src/index.d.ts @@ -356,7 +356,9 @@ declare module '@docusaurus/useGlobalData' { declare module '*.svg' { import type {ComponentType, SVGProps} from 'react'; - const ReactComponent: ComponentType>; + const ReactComponent: ComponentType< + SVGProps & {title?: string} + >; export default ReactComponent; }