W3cubDocs

/Angular

MetadataSetterType

Extracts the the type that can be set into the given metadata key type using the metadata() rule.

API

type MetadataSetterType<TKey> = TKey extends MetadataKey<any, infer TWrite, any> ? TWrite : never

Super-powered by Google ©2010–2025.
Code licensed under an MIT-style License. Documentation licensed under CC BY 4.0.
https://angular.dev/api/forms/signals/MetadataSetterType