Troy Hawley
Troy Hawley
As seen in this [plunkr](https://plnkr.co/edit/d6oyh92Ji6CiK6SuaFnO?p=preview), when `index` is defined on one tab all remaining tabs (after the first manually defined `index`) need an `index` otherwise the active state of the...
The object passed to the `queryFn` should be typed as `QueryFunctionContext` when using `useQueries`
### Describe the bug The `context` isn't typed as `QueryFunctionContext` in a `useQueries` `queryFn`. ### Your minimal, reproducible example https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgVwM4FMCKz1WO1OAXzgDMoIQ4ByAARgEMA7VRgYwGsB6KdBtmAFoAjjigBPagCgppZEwHAITOAEEwYABQBKRFLhw2y1mXQw2AC1UATa71SEAvHE2pgAcyYMANgC41AEbQMADKHl7e2v6seEzucI4AfHoGBrwwyFAq1AAyzOhwAIzUANz6xGXlRizwaOiqsMCsTi66SSmp6Zkqddi4+KiaCOWpcKL9BL4jo3AA2tMzHYuj4xIA0uji-rPUDLb2qNQAugA0C8ur4gBiTP6aAgAebcmkZpY2dgSDjwB0bp4+bRnZapIjnAxHaZEbTlMFgoA ### Steps to reproduce 1. Open typescript playground 2. Notice...
When an optional chain is involved, such as `data?.length`, the code is not correctly flagged by `unicorn/explicit-length-check`. ```tsx // Does not error with "Use `.length > 0` when checking length...