File tree 3 files changed +5
-5
lines changed
apps/docs/docs/state/api/rxjs-operators
3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ _Example_
19
19
20
20
``` typescript
21
21
import { of } from ' rxjs' ;
22
- import { distinctUntilSomeChanged } from ' rx-angular/state' ;
22
+ import { distinctUntilSomeChanged } from ' @ rx-angular/state/selections ' ;
23
23
24
24
interface Person {
25
25
age: number ;
@@ -47,7 +47,7 @@ _Example_
47
47
``` typescript
48
48
// An example with `KeyCompareMap`
49
49
import { of } from ' rxjs' ;
50
- import { distinctUntilSomeChanged } from ' rxjs/operators ' ;
50
+ import { distinctUntilSomeChanged } from ' @rx-angular/state/selections ' ;
51
51
52
52
interface Person {
53
53
age: number ;
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ _Example_
17
17
``` typescript
18
18
// An example with a custom comparison applied to each key
19
19
import { of } from ' rxjs' ;
20
- import { selectSlice } from ' rx-angular/state' ;
20
+ import { selectSlice } from ' @ rx-angular/state/selections ' ;
21
21
22
22
const state$: Observable <MyState > = of (
23
23
{ title: ' myTitle' , panelOpen: true },
@@ -40,7 +40,7 @@ _Example_
40
40
``` typescript
41
41
import { of , Observable } from ' rxjs' ;
42
42
import { tap } from ' rxjs/operators' ;
43
- import { selectSlice } from ' rx-angular/state' ;
43
+ import { selectSlice } from ' @ rx-angular/state/selections ' ;
44
44
45
45
interface MyState {
46
46
title: string ;
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ _Example_
32
32
``` typescript
33
33
import { Observable } from ' rxjs' ;
34
34
import { map } from ' rxjs/operators' ;
35
- import { stateful } from ' rx-angular/state' ;
35
+ import { stateful } from ' rx-angular/state/selections ' ;
36
36
37
37
const state$: Observable <{ name: string ; items: string [] }>;
38
38
const derivation$ = state$ .pipe (
You can’t perform that action at this time.
0 commit comments