add link to Promise type in doc