Skip to content

Commit

Permalink
chore: remove useless SSRServerContext type (#6492)
Browse files Browse the repository at this point in the history
Co-authored-by: Belinda Cao <[email protected]>
  • Loading branch information
zllkjc and caohuilin authored Nov 5, 2024
1 parent eee1e49 commit f952f23
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/server/core/src/types/server.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
import type { Readable } from 'node:stream';
import type {
BaseSSRServerContext,
Logger,
Metrics,
Monitors,
Expand All @@ -14,14 +13,6 @@ import type {
OnTiming,
} from './requestHandler';

export type SSRServerContext = BaseSSRServerContext & {
staticGenerate?: boolean;
};

export type ServerRender = (
ssrContext: SSRServerContext,
) => Promise<string | Readable | ReadableStream>;

export type RequestHandler = (
request: Request,
...args: any[]
Expand Down

0 comments on commit f952f23

Please sign in to comment.