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