diff --git a/packages/docusaurus/src/client/serverEntry.tsx b/packages/docusaurus/src/client/serverEntry.tsx index b06068c45816..569be29d94d9 100644 --- a/packages/docusaurus/src/client/serverEntry.tsx +++ b/packages/docusaurus/src/client/serverEntry.tsx @@ -18,7 +18,7 @@ import { } from './BrokenLinksContext'; import type {PageCollectedData, AppRenderer} from '../common'; -const render: AppRenderer = async ({pathname}) => { +const render: AppRenderer['render'] = async ({pathname}) => { await preload(pathname); const modules = new Set();