input: from typing import List
  
  
  def square_root(x: int) -> float:
      """ Compute the square root of a given integer.
      If the input is not an integer, raise a TypeError.
      >>> square_root(4)
      2.0
      >>> square_root(-1)
      Traceback (most recent call last):
          ...
      ValueError: math domain error
      >>> square_root('4')
      Traceback (most recent call last):
          ...
      TypeError: Input must be an integer
      """
      if not isinstance(x, int):
          raise TypeError('Input must be an integer')
      return x**0.5
output:     if x < 0:
          raise ValueError('math domain error')