typescript override type declaration code example
Example: typescript override type of property
interface A {
x: string
}
export type B = Omit<A, 'x'> & { x: number };
interface A {
x: string
}
export type B = Omit<A, 'x'> & { x: number };