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

Typescript useState Expected 0 arguments, but got 1

$
0
0

I encounter a problem with useState. I try to put a variables initial value into false but the VSCode tells me that it expects 0 arguments on useState function call.

Can I get some help?

VSCode Error

Error message


Viewing all articles
Browse latest Browse all 6487

Trending Articles