From f952f23f6ccc535ab4e3e6c8949805c8fbb1a8e8 Mon Sep 17 00:00:00 2001 From: zero <68810266+zllkjc@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:02:34 +0800 Subject: [PATCH] chore: remove useless SSRServerContext type (#6492) Co-authored-by: Belinda Cao --- packages/server/core/src/types/server.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/packages/server/core/src/types/server.ts b/packages/server/core/src/types/server.ts index c1cf94ba3553..76723e7d205b 100644 --- a/packages/server/core/src/types/server.ts +++ b/packages/server/core/src/types/server.ts @@ -1,6 +1,5 @@ import type { Readable } from 'node:stream'; import type { - BaseSSRServerContext, Logger, Metrics, Monitors, @@ -14,14 +13,6 @@ import type { OnTiming, } from './requestHandler'; -export type SSRServerContext = BaseSSRServerContext & { - staticGenerate?: boolean; -}; - -export type ServerRender = ( - ssrContext: SSRServerContext, -) => Promise; - export type RequestHandler = ( request: Request, ...args: any[]