The get accessor obtains a possible solution to the described problem
Last updated 3 years ago
Was this helpful?
CommonError.prototype.fix
The get accessor obtains a possible to the described problem by returning the #fix property of a specified object.
get
#fix
public get fix(): string { return this.#fix; }
string
The return value is the fix of a string type.
// 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;