The present disclosure provides a method of treating a cholangiocarcinoma, such as a cholangiocarcinoma, by administering a therapeutically effective amount of a compound of formula I, especially baritinib, an enantiomer thereof, or a pharmaceutically acceptable salt of any of the foregoing.본 개시내용은 치료적 유효량의 화학식 I의 화합물, 특히 바리티닙, 이의 거울상이성질체 또는 이들 중 임의의 것의 약제학적으로 허용 가능한 염을 투여함으로써 담관암, 예컨대 담관암종을 치료하는 방법을 제공한다.