type Cat = { name: string; fur: "brown" | "white" };
const addOrigin = (animals: Cat[], origin: "Italy" | "France") =>
animals.map((animal) => (animal.origin = origin)); // animal.origin throws error (see below)
throws
Property 'origin' does not exist on type 'Cat'.ts(2339)
Is there a way to leave the Cat type as it is and to implement something like OriginAddedCat into addOrigin function?