Type alias OptionTransformer<T>

OptionTransformer<T>: { alias?: string[]; defaultValue: T; fn?: ((value: string, def: T) => T) }

Type Parameters

Type declaration

  • Optional alias?: string[]
  • defaultValue: T
  • Optional fn?: ((value: string, def: T) => T)
      • (value: string, def: T): T
      • Parameters

        • value: string
        • def: T

        Returns T

Generated using TypeDoc