Pass the selector results of createSelector as a tuple type

Proprietary

NgRx 13 changed the type arguments of createSelector to the state, a tuple of the results of the input selectors, and the result, so createSelector<State, A, B, Result>(...) becomes createSelector<State, [A, B], Result>(...). Selectors with props, which take one argument fewer than the type arguments would suggest, are left alone.

org.openrewrite.angular.ngrx.MigrateCreateSelectorGenerics
mod run . --recipe=org.openrewrite.angular.ngrx.MigrateCreateSelectorGenerics

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.