When running with Angular, I'm getting thje error TS1086: An accessor cannot be declared in an ambient context.
for Javascript getters and setters in this Abstract Typescript class.
This is the source:
/**
* The current id key for the EStore instance.
* @return this.config.idKey;
*/
get ID_KEY(): string {
return this.config.idKey
}
/**
* The current guid key for the EStore instance.
* @return this.config.guidKey;
*/
get GUID_KEY(): string {
return this.config.guidKey
}
This was working fine until the most recent version of Angular. Are we no longer allowed to use getters and setters in Abstract classes?