Perhaps it wasn't clear, but here I mean they think people with gender dysphoria should be "cured" in the sense of "go through some therapy" or "change your outlook on life" and it'll go away.
Certainly transitioning is one way (and a seemingly very successful one) at dealing with gender dysphoria. Whether or not accepted psychological practice would call that situation "a cure for a mental illness" is something I don't know.