mirror of
https://github.com/Heretek-AI/GDevelop.git
synced 2026-08-26 18:46:41 -04:00
dced8eaeba
Integrate `npm run format` into the Flow codemod script and fix resulting Flow errors to ensure clean `npm run flow` and `npm run format` runs. Running `npm run format` after the Flow codemod introduced Flow errors due to `$FlowFixMe` comments being displaced by reformatting, Prettier 1.15 failing to parse certain type syntaxes (indexed access types, multi-line arrow function return types), and a persistent untyped object. This PR updates the script to run formatting at appropriate stages, adds specific fixes for Prettier parsing issues, and types a problematic object to ensure `npm run flow` and `npm run format` pass cleanly.