Here we demonstrate a previously unknown role of the T1D candidate gene TYK2 in pancreatic endocrine cell development. This evidence concerns the gene TYK2 and type 1 diabetes mellitus.