Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/fresh/server.ts>UnknownPageProps

The next-gen web framework.
Extremely Popular
Go to Latest
interface UnknownPageProps
import { type UnknownPageProps } from "https://deno.land/x/fresh@1.5.1/server.ts";

Type Parameters

optional
T = any
optional
S = Record<string, unknown>

Properties

url: URL

The URL of the request that resulted in this page being rendered.

route: string

The route matcher (e.g. /blog/:id) that the request matched for this page to be rendered.

data: T

Additional data passed into HandlerContext.renderNotFound. Defaults to undefined.

state: S