My UI guy had his machine refreshed on Friday, and today during his reinstall, he has the issue that all the Typescript dtos are generating enums as the old "type" style again, rather than "enum".
Strangely, I don't see the issue on my machine when I spin up an old project codebase, but when we created this new sample solution, and I run that locally (installing all updated MyGet packages), I see the same issue on my machine as well. Zip file is on my personal dropbox, contains a repro solution with a single endpoint with a single enum as a return property, and the /types/typescript path shows the issue.
I don't see anything recent in the commit history, most recent change to the typescript logic is October.
Apologies was a recently introduced logic error, should be resolved from this commit.
This change is available in the latest v5.4.1, you'll need to clear your NuGet packages cache to install the latest version.