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

generatePath

Returns a path with params interpolated.

function generatePath<Path extends string>(originalPath: Path, params?: [key in PathParam<Path>]: string | null): string;
§
generatePath<Path extends string>(originalPath: Path, params?: [key in PathParam<Path>]: string | null): string
[src]

§Type Parameters

§
Path extends string
[src]

§Parameters

§
originalPath: Path
[src]
§
params?: [key in PathParam<Path>]: string | null optional
[src]

§Return Type

§
string
[src]