parameters: (js_type, alias_map)
docstring: Updates the alias for identifiers in a type.
  
    Args:
      js_type: A typeannotation.TypeAnnotation instance.
      alias_map: A dictionary mapping a symbol to an alias.
docstring_summary: Updates the alias for identifiers in a type.
docstring_tokens: Updates the alias for identifiers in a type .
function: def _SetTypeAlias(js_type, alias_map):
    """Updates the alias for identifiers in a type.
  
    Args:
      js_type: A typeannotation.TypeAnnotation instance.
      alias_map: A dictionary mapping a symbol to an alias.
    """
    aliased_symbol = _GetAliasForIdentifier(js_type.identifier, alias_map)
    if aliased_symbol:
      js_type.alias = aliased_symbol
    for sub_type in js_type.IterTypes():
      _SetTypeAlias(sub_type, alias_map)
function_tokens: def _SetTypeAlias ( js_type , alias_map ) : aliased_symbol = _GetAliasForIdentifier ( js_type . identifier , alias_map ) if aliased_symbol : js_type . alias = aliased_symbol for sub_type in js_type . IterTypes ( ) : _SetTypeAlias ( sub_type , alias_map )