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
I think in general it affects many inferred types.
/** * Pick the Nth Param for any function with the first parameter marked by the 0 index. */exporttypeNthParam<GFunctionextendsAnyFunction,GIndexextendsnumber>=GFunctionextends(
...args: infer GArgs// => Flagged as unused)=>any
? GArgs[GIndex]
: never;
U
is marked as unused but is actually referenced in the then branch of the conditional typeThe text was updated successfully, but these errors were encountered: