If you are serious about it, I’d also add some Zone 2 training and verify diet now and then with a CGM.
It definitely has an impact on type 2 diabetes.
The mechanisms of fasting and baseline insulin, along with improving insulin sensitivity help your body leverage fat as a fuel source and keep your circulating insulin from becoming chronically too high thus causing insulting reception to be desensitized. Chronically high insulin levels are the major health risk factor and if you can get them managed through IF, then chances are extremely good you avoid type 2 diabetes.