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

'async' modifier cannot be used here in typescript react

$
0
0

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 => { 

Viewing all articles
Browse latest Browse all 6287

Trending Articles



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