utilitis for getting values in typescript code example
Example: typescript utility types merge interfaces
interface A {
x: string
}
interface B extends Omit<A, 'x'> {
x: number
}
interface A {
x: string
}
interface B extends Omit<A, 'x'> {
x: number
}