src/language-js/utils.js/isSimpleFlowType
function isSimpleFlowType(node) {
  return (
    node &&
    flowTypeAnnotations.has(node.type) &&
    !(node.type === "GenericTypeAnnotation" && node.typeParameters)
  );
}