Type 2, they need to solve type 2.
Type 1 is a different story. It’s the lack of natural insulin production (due to a damaged pancreas, autoimmune or other causes), basically the opposite problem to type 2, and no amount of lifestyle changes will replace of need of insulin doses.
Unfortunately, there's a serious time limit on this news, as the disease does permanently damage your cells, but in a way that's not terrible. It's probably easier to be shocked by a diagnosis into a lifestyle change than to find out now and undo 30 years of living with daily insulin injections anyways.