Brown beef, onion and salt, then drain. Mix green chiles and grated cheese in a medium size bowl, then stir in meat mixture. Layer mixture on bottom of a greased 8x10 pan. Combine eggs, milk, flour, salt and pepper. Pour over casserole and bake at 350º for 45-50 minutes.