get fix()
The get accessor obtains a possible solution to the described problem
CommonError.prototype.fix
CommonError.prototype.fixpublic get fix(): string {
return this.#fix;
}Return type
Returns
Example usage
// Example usage.
import { CommonError } from '@angular-package/error';
// Extend the `CommonError` class.
class TestError<Id extends string> extends CommonError<Id> {}
// Returns "Fix accessor."
new TestError('problem', 'Fix accessor.', '(AE:427)').fix;Last updated