[eprh] Type configs.flat more strictly
#34950
+4
−1
Merged