A type that represents either a single value of type T or a readonly array of T.
API
type OneOrMany<T> = T | readonly T[]
A type that represents either a single value of type T or a readonly array of T.
type OneOrMany<T> = T | readonly T[]
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/OneOrMany