Generic type variables
The `TypeErrors` object generic type variables
TypeErrors<Id>
TypeErrors<Id>class TypeErrors<
Id extends string // <--- Declare generic type variable Id.
> extends CommonErrors<Id> {
constructor(
...id: Id[] // <--- Capture generic type variable Id.
) {
super(...id);
}
}Last updated