InputType
The value an input K of T accepts. For a signal input (, a required input or ) this is the type it is set with, before its transform (for example unknown for an input with ); for a decorator input it is the property type. An optional signal input of an interface, such as a field of a type control, resolves the same way.
- Generic types
TK
DeclarationTypeScript
type InputType =
NonNullable<T[K]> extends InputSignalWithTransform <any, infer TWrite> ? TWrite : T[K];