The present disclosure provides compounds that are tyrosine kinase inhibitors, in particular Bruton tyrosine kinase (“BTK”) inhibitors, and are therefore useful for the treatment of diseases treatable by inhibition of BTK such as cancer, autoimmune, inflammatory, and thromboembolic diseases. Also provided are pharmaceutical compositions containing such compounds and processes for preparing such compounds.本發明提供作為酪胺酸激酶抑制劑、尤其布魯頓酪胺酸激酶(Bruton tyrosine kinase,「BTK」)抑制劑,且因此適用於治療可藉由抑制BTK來治療的疾病(諸如癌症、自體免疫、發炎及血栓栓塞疾病)之化合物。亦提供含有此類化合物之醫藥組合物及製備此類化合物之方法。