CHAN.RUN
Extract the name string literals from a tuple of error classes.
type ErrorNames<TErrors> = TErrors[number] extends NamedFaultErrorClass<infer N> ? N : never;Extract the name string literals from a tuple of error classes.
| Type Parameter |
|---|
TErrors extends NamedFaultErrorClass<string>[] |