Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

PathFunction

import type { PathFunction } from "https://raw.githubusercontent.com/pillarjs/path-to-regexp/master/src/index.ts";
type PathFunction<P extends ParamData> = (data?: P) => string;

§Type Parameters

§Type

§
(data?: P) => string
[src]