Might be neater to do this?

if (!isPrimary) {
  store.pushMany(typeName, normalizedArray);
}

return normalizedArray;