This probably should've been done a long time ago. Best practice is to modernize a Flow type whenever you touch it, but evidently people were too intimidated to try and modernize BaseAppState and its various related types.
I went ahead and did this. It looks like it went well, with no new Flow errors.