Assuming I have two interfaces:
interface A { a: string; b: string; x: string; } interface B { a: string; b: