Use map instead of multiple boolean input parameters to method type_to_typehint
Use map instead of multiple boolean input parameters to method type_to_typehint

Reviewed By: prasad223

Differential Revision: D37423050

fbshipit-source-id: 3c81e56543bd599866e784efda6d30d3d970bb01

facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift,facebook/fbthrift