generatePathReturns a path with params interpolated. function generatePath<Path extends string>(originalPath: Path, params?: [key in PathParam<Path>]: string): string;§generatePath<Path extends string>(originalPath: Path, params?: [key in PathParam<Path>]: string): string[src]§Type Parameters§Path extends string[src]§Parameters§originalPath: Path[src]§params?: [key in PathParam<Path>]: string optional[src]§Return Type§string[src]