@angular-architects/ngrx-toolkit 20.0.1 → 20.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.d.ts CHANGED
@@ -151,10 +151,6 @@ declare function withMapper<State extends object>(map: (state: State) => Record<
151
151
  */
152
152
  declare function renameDevtoolsName<State extends object>(store: StateSource<State>, newName: string): void;
153
153
 
154
- type Prettify<Type extends object> = {
155
- [Key in keyof Type]: Type[Key];
156
- };
157
-
158
154
  type PatchFn = typeof patchState$1 extends (arg1: infer First, ...args: infer Rest) => infer Returner ? (state: First, action: string, ...rest: Rest) => Returner : never;
159
155
  /**
160
156
  * @deprecated Has been renamed to `updateState`
@@ -167,7 +163,7 @@ declare const patchState: PatchFn;
167
163
  * @param action name of action how it will show in DevTools
168
164
  * @param updaters updater functions or objects
169
165
  */
170
- declare function updateState<State extends object>(stateSource: WritableStateSource<State>, action: string, ...updaters: Array<Partial<Prettify<State>> | PartialStateUpdater<Prettify<State>>>): void;
166
+ declare function updateState<State extends object>(stateSource: WritableStateSource<State>, action: string, ...updaters: Array<Partial<NoInfer<State>> | PartialStateUpdater<NoInfer<State>>>): void;
171
167
 
172
168
  declare global {
173
169
  interface Window {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@angular-architects/ngrx-toolkit",
3
- "version": "20.0.1",
3
+ "version": "20.0.3",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "GitHub",