def merge_dicts(dict1: dict, dict2: dict) -> dict:
    """
       Merges two dictionaries into one dictionary.

       :type dict1: ``dict``
       :param dict1: The first dictionary.

       :type dict2: ``dict``
       :param dict2: The second dictionary.

       :return: The merged dictionary.
       :rtype: ``dict``
    """
    return {**dict1, **dict2}