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

'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 6429

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>