That could have been most expensive, but for a $20 precaution.
I've just regurgitated some of my last cup of tea over the trackpad & keyboard of my new-ish MacBook Air.
Fortunately. it has a Moshi keyboard cover which save the keyboard from any moisture ingress. A quick wipe down was all that was needed.