vlocode-project - v1.40.0-beta-4
    Preparing search index...

    Function mapToObject

    • Convert an map with a key as number of string to a JS object

      Type Parameters

      • K extends string | number
      • V

      Parameters

      • data: Map<K, V>

        Map object to convert

      Returns { [key in string | number]: V }

      A map Object with each key of the data as property