fix: make invalid use of 'partial' error more robust
5 files changed