function args type resolve