Constructor
The `TypeErrors` constructor
TypeErrors()
TypeErrors()
Creates the TypeErrors
instance of unique identification numbers under which the TypeError
objects are stored.
constructor(...id: Id[]) {
super(...id);
}
Parameters
A rest parameter of generic type variable Id
indicates unique identification numbers under which the TypeError
objects are stored.
Example usage
// Example usage.
import { TypeErrors } from '@angular-package/error';
// Returns TypeErrors {}
new TypeErrors('RE: 4332', 'RE: 4331', 'RE: 4330');
// Returns TypeErrors {}
new TypeErrors('RV: 332', 'RV: 331', 'RV: 330');
Last updated
Was this helpful?