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

x/fresh/src/server/types.ts>Route

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

Type Parameters

optional
Data = any

Properties

pattern: string
url: string
name: string
optional
component: ComponentType<PageProps<Data>>
handler: Handler<Data> | Handlers<Data>
csp: boolean