The `RangeErrors` object generic type variables
Last updated 1 year ago
Was this helpful?
RangeErrors<
Id
>
extends
A generic type variable constrained by the , by default of the value captured from the provided indicates the identification type of a new instance.
class RangeErrors< Id extends string // <--- Declare generic type variable Id. > extends CommonErrors<Id> { constructor( ...id: Id[] // <--- Capture generic type variable Id. ) { super(...id); } }
string
RangeErrors
id