generatePathReturns 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]