this is the new way of decision to typereferenceyou need to understand about extends calculation of typescript for understand conditional typeTypeScri