Valid routes examples: Navigating 5km to the north Navigating 10km to the west Navigating 1km to the south Invalid routes examples (would cause TypeScript compile errors): Invalid route: north-2km. Must be a valid direction-distance combination. Invalid route: 5km-north. Must be a valid direction-distance combination. Valid API requests examples: Handling: GET /users Handling: POST /comments Handling: PUT /users/:id Invalid API request example (would cause TypeScript compile error): Invalid API request: PATCH /users In TypeScript, template literal types are evaluated at compile time: type DirectionAndDistance = `${Direction}-${Distance}`; // This creates a type with all combinations: 'north-1km' | 'north-5km' | ... | 'west-10km'