• 개요
@angular/forms/signals

RemoveStringIndexUnknownKey

타입 별칭
안정화v22.0부터

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
    
    
상세 내용으로 이동