16 lines
382 B
TypeScript
16 lines
382 B
TypeScript
![]() |
import type { PageContextBuiltIn } from 'vite-plugin-ssr'
|
||
|
import type { PageProps } from '../pages/types'
|
||
|
import type { Component } from 'solid-js'
|
||
|
|
||
|
export type PageContext = PageContextBuiltIn & {
|
||
|
Page: (pageProps: PageProps) => Component
|
||
|
pageProps: PageProps
|
||
|
lng: string
|
||
|
// FIXME typing
|
||
|
cookies: any
|
||
|
documentProps?: {
|
||
|
title?: string
|
||
|
description?: string
|
||
|
}
|
||
|
}
|