This could be useful as a build tool plugin to generate consistent typings for frontend and backend code. Of course, using this as a build-time codegen tool means you can't add any custom annotations or methods etc., so it could be a bit restrictive for most use cases.
Nice work though!