Type alias ReplaceInjectablesFormatters

ReplaceInjectablesFormatters: {
    formatCurrency: ((value: number) => string);
    formatDate: ((value: string) => string);
    formatDateTime: ((value: string) => string);
    formatNumber: ((value: number) => string);
    formatTime: ((value: string) => string);
}

Type declaration

  • formatCurrency: ((value: number) => string)
      • (value: number): string
      • A function to format any numbers as currency.

        Parameters

        • value: number

        Returns string

  • formatDate: ((value: string) => string)
      • (value: string): string
      • A function to format any dates.

        Parameters

        • value: string

        Returns string

  • formatDateTime: ((value: string) => string)
      • (value: string): string
      • A function to format any date/times.

        Parameters

        • value: string

        Returns string

  • formatNumber: ((value: number) => string)
      • (value: number): string
      • A function to format any numbers.

        Parameters

        • value: number

        Returns string

  • formatTime: ((value: string) => string)
      • (value: string): string
      • A function to format any times.

        Parameters

        • value: string

        Returns string