add typesafe resolver