What you are describing is a linting issue, and eslint is the most common way to handle this for typescript today.
There's a plugin that does what you want with the lint rule i18n-json/identical-keys https://github.com/godaddy/eslint-plugin-i18n-json