Skip to content
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

Fix two typos in docs #6077

Merged
merged 2 commits into from Mar 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/internal/operators/elementAt.ts
Expand Up @@ -46,7 +46,7 @@ export function elementAt<T, D>(index: number, defaultValue: D): OperatorFunctio
* @see {@link take}
*
* @throws {ArgumentOutOfRangeError} When using `elementAt(i)`, it delivers an
* ArgumentOutOrRangeError to the Observer's `error` callback if `i < 0` or the
* ArgumentOutOfRangeError to the Observer's `error` callback if `i < 0` or the
* Observable has completed before emitting the i-th `next` notification.
*
* @param {number} index Is the number `i` for the i-th source emission that has
Expand Down
2 changes: 1 addition & 1 deletion src/internal/operators/skipLast.ts
Expand Up @@ -33,7 +33,7 @@ import { OperatorSubscriber } from './OperatorSubscriber';
* @see {@link take}
*
* @throws {ArgumentOutOfRangeError} When using `skipLast(i)`, it throws
* ArgumentOutOrRangeError if `i < 0`.
* ArgumentOutOfRangeError if `i < 0`.
*
* @param {number} skipCount Number of elements to skip from the end of the source Observable.
* @returns {Observable<T>} An Observable that skips the last count values
Expand Down