Interface FormatterModule

interface FormatterModule {
    format: FormatFunction;
    type: "formatter";
    add(name, fc): void;
    addCached(name, fc): void;
    init(services, i18nextOptions): void;
}

Hierarchy (view full)

Properties

Methods

Properties

type: "formatter"

Methods

  • Parameters

    • name: string
    • fc: ((value, lng, options) => string)
        • (value, lng, options): string
        • Parameters

          • value: any
          • lng: string
          • options: any

          Returns string

    Returns void

  • Parameters

    • name: string
    • fc: ((lng, options) => ((value) => string))
        • (lng, options): ((value) => string)
        • Parameters

          • lng: string
          • options: any

          Returns ((value) => string)

            • (value): string
            • Parameters

              • value: any

              Returns string

    Returns void

  • Parameters

    Returns void