Interface for Basalt key transformer.

interface BasaltKeyTransformer {
    transformKey(key: string): string;
}

Implemented by

Methods

Methods

  • Transforms a single key from any case to another case.

    Parameters

    • key: string

      The key string to transform.

    Returns string

    The key string transformed into the desired case.