We found that TYK2 inhibition prevents the onset of hyperglycemia in both RIP-LCMV-GP and NOD mice. Here, TYK2 is linked to Hyperglycemia.