I am getting an error in aync
, that the async
modifier cannot be used here:
private async getValue= (acc: Access): void => { await this.service.getForm(''); }
Seems like I am doing something wrong in the method declaration.
private async getValue= (acc: Access): void => {