Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4c403c3

Browse files
committed
refactor(state): make ErrorHandler nullable in RxEffects
1 parent e9c24ef commit 4c403c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

libs/state/effects/src/lib/effects.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
PartialObserver,
88
pipe,
99
Subject,
10-
Subscription
10+
Subscription,
1111
} from 'rxjs';
1212
import {
1313
catchError,
@@ -16,7 +16,7 @@ import {
1616
mergeAll,
1717
share,
1818
takeUntil,
19-
tap
19+
tap,
2020
} from 'rxjs/operators';
2121
import { DestroyProp, OnDestroy$ } from './model';
2222
import { toHook, untilDestroyed } from './utils';
@@ -66,7 +66,7 @@ import { toHook, untilDestroyed } from './utils';
6666
export class RxEffects implements OnDestroy, OnDestroy$ {
6767
constructor(
6868
@Optional()
69-
private readonly errorHandler: ErrorHandler
69+
private readonly errorHandler: ErrorHandler | null
7070
) {}
7171

7272
private static nextId = 0;

0 commit comments

Comments
 (0)