import * as strings from 'SpStarterKitSharedLibraryStrings' ; import { LocaleKeys } from './loc/LocaleKeys' ; export class SpStarterKitSharedLibrary { param localeKey public static getLocale ( localeKey , returnNull = false ) { if ( ! returnNull ) { return strings [ localeKey ] || `Locale key not defined` ; } else { return strings [ localeKey ] || null ; } } }