• Overview
@angular/forms/signals

RemoveStringIndexUnknownKey

Type Alias

Utility type that removes a string index key when its value is unknown, i.e. {[key: string]: unknown}. It allows specific string keys to pass through, even if their value is unknown, e.g. {key: unknown}.

API

    
      type RemoveStringIndexUnknownKey<K, V> = string extends K  ? unknown extends V    ? never    : K  : K
    
    
Jump to details