[ Web Proxy ]
URL:
Viewing: https://angular.dev/api/forms/signals/RemoveStringIndexUnknownKey [Back]  [Original]

RemoveStringIndexUnknownKey Angular Skip to main content
menu
close
more_horiz
menuAPI
@angular/forms/signals

RemoveStringIndexUnknownKey

Type Alias
stablesince 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}.

Integration with schema validation libraries

On this page

    arrow_upward_alt Back to the top

    API

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

    Web Proxy Viewer  |  New URL  |  Original Page