• Overview
@angular/forms/signals

ItemType

Type Alias

Gets the item type of an object that is possibly an array.

API

    
      type ItemType<T extends Object> = T extends ReadonlyArray<any> ? T[number] : T[keyof T]
    
    
Jump to details