@bespunky/angular-zen
Version:
The Angular tools you always wished were there.
22 lines (21 loc) • 935 B
TypeScript
import { LanguageIntegrationConfig } from '@bespunky/angular-zen/language';
/** A dummy array of supported languages to use when testing. Includes 'en', 'fr' and 'he'. */
export declare const SupportedLanguages: string[];
/** A dummy language name to use as a default language when testing. This always equals to `SupportedLanguages[0]`. */
export declare const DefaultLanguage: string;
/**
* A dummy language integration configuration to use when testing.
*
* Operation:
*
* `changed` - will only emit once, and will provide `DefaultLanguage` as the emitted language.
*
* `supported` - will provide `SupportedLanguages` as the array of language names.
*
* `default` - will provide `DefaultLanguage` as the name of the default language.
*
* `translate` - will prefix any given value with `TRANSLATED: `.
*
* `ready` - will emit once immediately.
*/
export declare const LanguageConfig: LanguageIntegrationConfig;