I\'m in a react/typescript using esri with arcgis js api v4.x environment. I\'m using queryFeatures to get attributes from the layer fields. I can\
queryFeatures
attributes