Record_2<T, U>: {
    [P in T]: U
}

Type Parameters

  • T extends string | number | symbol
  • U