this repo has no description
at main 595 B view raw
1"use strict"; 2Object.defineProperty(exports, "__esModule", { value: true }); 3exports.LocalizedStringsJSONObject = void 0; 4/** 5 * A type providing access to underlying localized strings JSON object. 6 */ 7class LocalizedStringsJSONObject { 8 /** 9 * Create localized strings JSON object. 10 * 11 * @param strings - A dictionary containing localized strings. 12 */ 13 constructor(strings) { 14 this.strings = strings; 15 } 16 // MARK: - Localized Strings 17 string(key) { 18 return this.strings[key]; 19 } 20} 21exports.LocalizedStringsJSONObject = LocalizedStringsJSONObject;