UNPKG

@omnia/tooling-composers

Version:

Provide tooling to work with manifest things.

33 lines (32 loc) 1.01 kB
import { LanguageTags } from "../../../fx-models/Enums"; export interface ILocalizationComposer { /** * Set the current name space to wroking * @param name the name space value */ namespace: (name: string) => { /** * Add localize value to current name space * @param localize the define localize type */ add: <T>(localize: T) => ILocalizationNamespaceComposer; }; } export interface ILocalizationNamespaceComposer { /** * Add localize value to current name space * @param localize the define localize type */ add: <T>(localize: T) => ILocalizationNamespaceComposer; /** * Set the current name space to wroking * @param name the name space value */ namespace: (name: string) => { add: <T>(localize: T) => ILocalizationNamespaceComposer; }; } export interface LocalizationOptions { /** The Locale Name to add localization to */ localeName: LanguageTags; }