Open maiolica opened 1 month ago
Knip currently can't detect it. Not members of exported objects, let alone those in return values.
A kind of similar request was unused props in React components.
Such features may one day be offered through custom "visitors" that may allow to implement what you need here (either optionally enabled in core or through external add-ons), but it's all very premature.
A Vue composable is a function usually structured this way:
If
isRegularUser
is never exported in another file, ex.could Knip detect it?