Yay update interrupted due to power failure

That’s The “I don’t care” way. If possible, I would avoid using it.
jonathon faq guide contains a another way.

Generally avoid using the --overwrite option with pacman. The --overwrite option takes an argument containing a glob. When used, pacman will bypass file conflict checks for files that match the glob. In a properly maintained system, it should only be used when explicitly recommended by the Arch Developers. Avoid_certain_pacman_commands