error message should say `targetPropertyNames`