react-native-lightspeedsdk
Version:
A react-native interface for using the LightspeedSDK
23 lines (18 loc) • 401 B
JavaScript
;
type CountryLanguageSetMap = {
country:string,
languages:Array
};
/**
* Represents an immutable CountryLanguageSet
*/
class CountryLanguageSet {
country:string;
languages:Array;
constructor(tokenMap: CountryLanguageSetMap) {
this.country=tokenMap.country;
this.languages=tokenMap.languages;
Object.freeze(this);
}
}
module.exports = CountryLanguageSet;