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

EsLint gives me error "Parsing error: Cannot read property 'map' of undefined" when writing a valid tuple type

$
0
0

This is an example, I think it's a valid tuple types

export type SomeType = [ string, boolean ]

I don't know why eslint gives me this error

enter image description here


Viewing all articles
Browse latest Browse all 6287

Trending Articles