Interface ConversionRegisterEntry<T>

Entry for a type in the conversion register. The Identifier is used to identify the type in the string representation of the value and then to reconstruct the value from the string. It has to be unique.

Type Parameters

Hierarchy

  • ConversionRegisterEntry

Properties

exportToString: ((value) => string)

Type declaration

    • (value): string
    • Function to convert the value to a string

      Parameters

      Returns string

identifier: string

Identifier for the type. Is used to identify the type in the string representation of the value and then to reconstruct the value from the string. It has to be unique.

importFromString: ((value) => PrimitiveType<T>)

Type declaration

type: T

Type information

Type Param

Type information

Generated using TypeDoc