Skip to content

Commit f6acdc0

Browse files
Tane Morganbenlesh
authored andcommitted
docs(forkJoin): fix example (#4628)
1 parent af1324b commit f6acdc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/internal/observable/forkJoin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ export function forkJoin<T>(...sources: ObservableInput<T>[]): Observable<T[]>;
110110
* ### Use forkJoin with project function
111111
* ```javascript
112112
* import { forkJoin, interval } from 'rxjs';
113-
* import { take } from 'rxjs/operators';
113+
* import { map, take } from 'rxjs/operators';
114114
*
115115
* const observable = forkJoin(
116116
* interval(1000).pipe(take(3)), // emit 0, 1, 2 every second and complete

0 commit comments

Comments
 (0)