Type alias MapNumberKeysToString<T>

MapNumberKeysToString<T>: {
    [key in keyof T & number as `${key}`]: T[key]
}

A type for a map containing all numbers as keys (as strings) and their number equivalent as values. Used for converting strings to numbers.

Type Parameters

  • T extends {
        [key: number]: typeof key;
    }

Generated using TypeDoc