Find getInitialState calls with additional state

Proprietary

NgRx 20 makes getInitialState of an @ngrx/entity adapter type-safe: the object it receives must match the entity state type, so extra properties no longer compile. Finds the calls that pass an argument.

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

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