Add tests and allow more liberal spacing with get/instant calls

This commit is contained in:
Kim Biesbjerg
2016-12-13 15:17:03 +01:00
parent ca8b122295
commit 8093370e94
9 changed files with 64 additions and 20 deletions

View File

@@ -18,7 +18,7 @@ export class TranslationCollection {
const values = keys.reduce((results, key) => {
results[key] = '';
return results;
}, <TranslationType>{});
}, <TranslationType> {});
return new TranslationCollection(Object.assign({}, this.values, values));
}