Class FluentType<T>Abstract

The FluentType class is the base of Fluent's type system.

Fluent types wrap JavaScript values and store additional configuration for them, which can then be used in the toString method together with a proper Intl formatter.

Type Parameters

  • T

Hierarchy

Constructors

Properties

Methods

Constructors

Properties

value: T

The wrapped native value.

Methods

  • Format this instance of FluentType to a string.

    Formatted values are suitable for use outside of the FluentBundle. This method can use Intl formatters available through the scope argument.

    Parameters

    Returns string