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

Skip to content

Commit 8180624

Browse files
steigermMichael Steiger
and
Michael Steiger
authored
docs: fixed imports for selections
* fixed import of selectSlice * fixed second import * fixed imports from selections for stateful and distinctUntilSomeChanged --------- Co-authored-by: Michael Steiger <[email protected]>
1 parent 57b7925 commit 8180624

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

apps/docs/docs/state/api/rxjs-operators/distinct-until-some-changed.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ _Example_
1919

2020
```typescript
2121
import { of } from 'rxjs';
22-
import { distinctUntilSomeChanged } from 'rx-angular/state';
22+
import { distinctUntilSomeChanged } from '@rx-angular/state/selections';
2323

2424
interface Person {
2525
age: number;
@@ -47,7 +47,7 @@ _Example_
4747
```typescript
4848
// An example with `KeyCompareMap`
4949
import { of } from 'rxjs';
50-
import { distinctUntilSomeChanged } from 'rxjs/operators';
50+
import { distinctUntilSomeChanged } from '@rx-angular/state/selections';
5151

5252
interface Person {
5353
age: number;

apps/docs/docs/state/api/rxjs-operators/select-slice.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ _Example_
1717
```typescript
1818
// An example with a custom comparison applied to each key
1919
import { of } from 'rxjs';
20-
import { selectSlice } from 'rx-angular/state';
20+
import { selectSlice } from '@rx-angular/state/selections';
2121

2222
const state$: Observable<MyState> = of(
2323
{ title: 'myTitle', panelOpen: true },
@@ -40,7 +40,7 @@ _Example_
4040
```typescript
4141
import { of, Observable } from 'rxjs';
4242
import { tap } from 'rxjs/operators';
43-
import { selectSlice } from 'rx-angular/state';
43+
import { selectSlice } from '@rx-angular/state/selections';
4444

4545
interface MyState {
4646
title: string;

apps/docs/docs/state/api/rxjs-operators/stateful.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ _Example_
3232
```typescript
3333
import { Observable } from 'rxjs';
3434
import { map } from 'rxjs/operators';
35-
import { stateful } from 'rx-angular/state';
35+
import { stateful } from 'rx-angular/state/selections';
3636

3737
const state$: Observable<{ name: string; items: string[] }>;
3838
const derivation$ = state$.pipe(

0 commit comments

Comments
 (0)