@escapenavigator/types 1.8.2 → 1.8.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -214,9 +214,8 @@ __decorate([
214
214
  __decorate([
215
215
  (0, class_transformer_1.Expose)(),
216
216
  (0, class_transformer_1.Transform)(({ obj, value }) => {
217
- var _a, _b;
218
- const locale = ((_a = obj.locales) === null || _a === void 0 ? void 0 : _a.find((l) => l.language === obj.language)) ||
219
- ((_b = obj.techlocales) === null || _b === void 0 ? void 0 : _b.find((l) => l.language === obj.language));
217
+ var _a;
218
+ const locale = (_a = obj.locales) === null || _a === void 0 ? void 0 : _a.find((l) => l.language === obj.language);
220
219
  return (locale === null || locale === void 0 ? void 0 : locale.importantInfo) || value;
221
220
  }),
222
221
  __metadata("design:type", String)