Quantcast
Channel: Active questions tagged react-native+typescript - Stack Overflow
Viewing all articles
Browse latest Browse all 6212

'async' modifier cannot be used here in typescript react

$
0
0

I am getting error in aync that 'async' modifier cannot be used here

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

Seems like i am doing wrong in method declaration.private async getValue= (acc: Access): void => {


Viewing all articles
Browse latest Browse all 6212

Trending Articles