input: from typing import List
  
  def extract_hotel_reviews(url: str, headers: dict) -> List[str]:
      """ Extract hotel reviews from a given URL of TripAdvisor using the provided headers. 
      This function fetches the webpage, parses the HTML, and extracts the title and text of each review.
      Finally, it returns a list of strings, each string containing both the title and the text of a single review, separated by a line of dashes.
      
      Example:
      >>> url = "<url>"
      >>> headers = {'User-Agent': 'Mozilla/5.0'}
      >>> extract_hotel_reviews(url, headers)
      ['Review Title 1\nReview Text 1\n--------------------------------------------------', 'Review Title 2\nReview Text 2\n--------------------------------------------------']
      """
output:     import requests
      from bs4 import BeautifulSoup
  
      response = requests.get(url, headers=headers)
      soup = BeautifulSoup(response.text, 'html.parser')
  
      reviews = []
      for review in soup.find_all('div', class_='review-container'):
          title = review.find('div', class_='quote').text.strip()
          text = review.find('div', class_='entry').text.strip()
          reviews.append(f"{title}\n{text}\n--------------------------------------------------")
  
      return reviews