You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But If I'm more specific and provide the shape of foo, ex:
props: {
foo: { a: number }
}
It fails with error that foo.a is not beeing used.
I would like it to detect that I passed foo to some children and mark foo.a as used.
Otherwise, I cannot import specific type declarations, when I have to pass value down through some components.
The text was updated successfully, but these errors were encountered:
There's modifier for this rule called
"skipShapeProps": true
but it doesn't work when you use flow for prop types declarations, ex:Works
But If I'm more specific and provide the shape of
foo
, ex:It fails with error that foo.a is not beeing used.
I would like it to detect that I passed
foo
to some children and markfoo.a
as used.Otherwise, I cannot import specific type declarations, when I have to pass value down through some components.
The text was updated successfully, but these errors were encountered: