@tutturen that’s definitely doable. The Flow and TS generated code is different, but we already have 2 extensions, so it’s easy to write both files.
For Flow and vanilla, the easiest is to just generate Flow and ignore the types for vanilla. The requirement is to have eg Babel in the pipeline. But it’s simpler than having a third kind of file generated at the same time.