Is there a way to do it?
Sandbox.
type X = { p1: string p2: number } type Y = { p1: string p2: number p3: boolean } const app = (x: X)=>