New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs(operators): fix code example #6577
Conversation
8891915
to
1b00c7c
Compare
1b00c7c
to
34ef4cd
Compare
* const div = document.createElement('div'); | ||
* div.style.cssText = `width: 200px;height: 200px;background: #09c;`; | ||
* document.body.appendChild(div); | ||
* | ||
* const clicks = fromEvent(document, 'click'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW, find, findIndex, first
all need a div element to run the example. Or maybe we can refactor to use Typescript only, eg:
range(1, 10)
.pipe(filter(x => x % 2 === 1))
Co-authored-by: Mladen Jakovljević <jakovljevic.mladen@gmail.com>
a11fdde
to
3e75d9c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @diyews!
😢 My mistake, the |
Description:
Going to fix code examples so that can run in stackblitz.