16 lines
388 B
TypeScript
16 lines
388 B
TypeScript
import type { PageContextBuiltIn } from 'vite-plugin-ssr/types'
|
|
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
|
|
}
|
|
}
|