import typing


def extract_entity_types(entities: dict, qid: str) -> typing.List[str]:
    """Returns entity types for a specified entity.

    Arguments:
        entities: ``dict`` A dictionary of Wikidata entity information.
        qid: ``str`` A single entity ID.
    Returns:
        ``list`` A list of entity types for the entity.
    """
    return entities.get(qid, {}).get("entity_types", [])