• Genel Bakış
@angular/forms/signals

RemoveStringIndexUnknownKey

Tür Takma Adı
kararlıv22.0'den beri

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
    
    
Detaylara atla