Extracts path parameter names into a record type.
The type of the path.
// Example usage:type Params = ExtractPathParams<'/users/:id/books/:bookId'>;// Result: { id: string; bookId: string } Copy
// Example usage:type Params = ExtractPathParams<'/users/:id/books/:bookId'>;// Result: { id: string; bookId: string }
Extracts path parameter names into a record type.