Skip to content
This repository was archived by the owner on Jul 6, 2025. It is now read-only.

Commit 1de0a35

Browse files
committed
Update types
1 parent 70f228b commit 1de0a35

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

types.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -236,15 +236,15 @@ export type GlobalSSROptions = {
236236
/**
237237
* The **SSR** props.
238238
*/
239-
export type SSRProps<Props> = Props & {
239+
export type SSRProps<P> = P & {
240240
$revalidate?: number
241241
}
242242

243243
/**
244244
* The **SSR** options for pages.
245245
*/
246-
export type SSROptions<Props = {}> = {
247-
props?(router: RouterURL): (SSRProps<Props> | Promise<SSRProps<Props>>)
246+
export type SSROptions<P = {}> = {
247+
props?(router: RouterURL): (SSRProps<P> | Promise<SSRProps<P>>)
248248
paths?(): (string[] | Promise<string[]>)
249249
}
250250

0 commit comments

Comments
 (0)