diff --git a/src/utils/translation.collection.ts b/src/utils/translation.collection.ts index 8bfc71a..c7c9685 100644 --- a/src/utils/translation.collection.ts +++ b/src/utils/translation.collection.ts @@ -57,8 +57,7 @@ export class TranslationCollection { public intersect(collection: TranslationCollection): TranslationCollection { const values: TranslationType = {}; - this.filter(key => collection.has(key)); - this.forEach((key, val) => { + this.filter(key => collection.has(key)).forEach((key, val) => { values[key] = val; });