/** * Test intersection of objects flowing to spread assignment. * * Definitions in lib/lib.js * * @noflow */ declare const x: ObjAssignT; let y: ObjAssignT = { ...x }; // should be fine