Type alias StringToNumber<T>

StringToNumber<T>: T extends keyof StringToNumberHelper
    ? StringToNumberHelper[T]
    : never

A type utility t oconvert a string to its number equivalent

Type Parameters

  • T extends string

Generated using TypeDoc