private async getValue = (access:  Access): void => { 

 Solution

You can't use the async keyword in an arrow function before the declaration. Consider moving it before the parenthesis.

private getValue = async (access: Access) => {   
   await this.service.getForm('');
}

 

 

Saved you some valuable time?

Buy me a drink 🍺