component:pathshelp wantedtype addition
Repository metrics
- Stars
- (12,328 個のスター)
- PR merge metrics
- (平均マージ 3d 5h) (30d で 11 merged PRs)
説明
Short summary
Given:
Type: Any type
Provide:
Create a type based on the ValueOf of a deeply nested property.
Potential definition
type ValueOfDeep<Type, PathUnion extends Paths<T>>
Use case
Selecting deeply nested objects to be the value of a new type. This may be relevant for auto-generated types where the deep objects aren't unique types but are used independently on the application.