@wpazderski/js-utils
    Preparing search index...

    Converter that converts given value to the same value (no-op). This is useful when a converter has to be provided, but no actual conversion is needed.

    Type Parameters

    • T = unknown

      The type of the value to convert; also the type of the value returned by convert().

    Hierarchy (View Summary)

    Index

    Methods

    • Throws a ConversionError for the given value.

      Parameters

      • value: T

        The value that caused the conversion error.

      Returns never

      never - This function does not return; it always throws an error.

      ConversionError - An error indicating that the conversion failed.