From ad5db58a0c69e5b1e1b45b197cde001fb75fc58f Mon Sep 17 00:00:00 2001 From: sebastien Date: Tue, 22 Oct 2024 11:48:53 +0200 Subject: [PATCH] fix type --- packages/docusaurus/src/client/serverEntry.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();