Add tests and allow more liberal spacing with get/instant calls
This commit is contained in:
		| @@ -25,7 +25,7 @@ export class PoCompiler implements CompilerInterface { | ||||
| 						msgstr: collection.get(key) | ||||
| 					}; | ||||
| 					return translations; | ||||
| 				}, <any>{}) | ||||
| 				}, <any> {}) | ||||
| 			} | ||||
| 		}; | ||||
|  | ||||
| @@ -45,7 +45,7 @@ export class PoCompiler implements CompilerInterface { | ||||
| 			.reduce((values, key) => { | ||||
| 				values[key] = po.translations[this.domain][key].msgstr.pop(); | ||||
| 				return values; | ||||
| 			}, <TranslationType>{}); | ||||
| 			}, <TranslationType> {}); | ||||
|  | ||||
| 		return new TranslationCollection(values); | ||||
| 	} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user