Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-12656

Generate locales.json as a JS file with Flow types instead

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • None

      locales.json being a raw JSON file means we do not get Flow types for it, which means we cannot mark any files that use them @flow strict. Would be neat to have proper typing support for locales - this probably means generating the file as JavaScript with Flow types rather than as pure JSON, and also generating a JSON file on the side if needed by Perl, like we do with entities.mjs vs entities.json.

            Unassigned Unassigned
            reosarevok Nicolás Tamargo
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:

                Version Package