Open
Description
Type description + examples
OverridePropertiesDeep
could use strongly typed path to the prop to change it
type GenericProps = {
x: {
y: {
z: string
}
}
}
type SpecificProps = OverridePropertiesDeep<GenericProps, 'x.y.z', number>
Type source
No response
Search existing types and issues first
- I tried my best to look for it