Closed BoBeenLee closed 2 years ago
urlPathValues 값이 never이 아닐 경우에만 노출하고 싶을때,
{
[key in F as key extends infer K extends keyof NavRouter
? NavRouter[K] extends { urlPathValues: never }
? never
: 'urlPathValues'
: never]?: NavRouter[key]['urlPathValues'];
};
Background
Examples
Insight