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

XMLWordPrintable

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Normal
    • None
    • Affects Version/s: None
    • Component/s: 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.

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

              Created:
              Updated:

                Version Package