diff --git a/scripts/generate-locales.ts b/scripts/generate-locales.ts index b8103ee3d5b..7172ea892f5 100644 --- a/scripts/generate-locales.ts +++ b/scripts/generate-locales.ts @@ -334,9 +334,8 @@ async function normalizeLocaleFile(filePath: string, definitionKey: string) { const compareIndex = fileContent.indexOf(searchString) + searchString.length; const compareString = fileContent.substring(compareIndex); - const isDynamicFile = compareString.startsWith('mergeArrays'); const isNonApplicable = compareString.startsWith('null'); - if (isDynamicFile || isNonApplicable) { + if (isNonApplicable) { return; } diff --git a/src/internal/merge.ts b/src/internal/merge.ts deleted file mode 100644 index 2bb4c035191..00000000000 --- a/src/internal/merge.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Merges and sorts the given arrays. - * - * @template T The type of the elements in the arrays. - * - * @internal - * - * @param args The arrays to merge. - */ -export function mergeArrays(...args: T[][]): T[] { - return [...new Set(args.flat())].sort(); -}