Browse Source

refactor: renamed the patch method name to deepPatch

#6667
pull/6669/head
mehmet-erim 6 years ago
parent
commit
70b0ad91e8
  1. 3
      npm/ng-packs/packages/core/src/lib/utils/internal-store-utils.ts

3
npm/ng-packs/packages/core/src/lib/utils/internal-store-utils.ts

@ -25,7 +25,8 @@ export class InternalStore<State> {
constructor(private initialState: State) {} constructor(private initialState: State) {}
patch(state: DeepPartial<State>) {
deepPatch(state: DeepPartial<State>) {
this.state$.next(deepMerge(this.state, state)); this.state$.next(deepMerge(this.state, state));
this.update$.next(state); this.update$.next(state);
} }

Loading…
Cancel
Save