Skip to content

Commit

Permalink
fix map example 1 text
Browse files Browse the repository at this point in the history
  • Loading branch information
ammarnajjar committed Jan 21, 2021
1 parent 042081e commit ebb8b5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/present/main/map/map.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export class MapComponent {
from([0, 1, 2])
.pipe(
tap(console.log),
map(x) => 10 + x)
map(x => 10 + x)
)
.subscribe(output => console.log('=>', output), () => console.error('error'), () => console.log('completed'));`;

Expand Down

0 comments on commit ebb8b5a

Please sign in to comment.