Skip to content

Commit

Permalink
fix(toPromise): remove lettable version of toPromise
Browse files Browse the repository at this point in the history
toPromise isn't really an "operator", as it does not take an Observable and return an Observable, rather it returns a Promise. This was added mistakenly

fixes #2868
  • Loading branch information
benlesh committed Oct 6, 2017
1 parent 2e49a5c commit 031edca
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 62 deletions.
1 change: 0 additions & 1 deletion src/operators/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ export { timeout } from './timeout';
export { timeoutWith } from './timeoutWith';
export { timestamp } from './timestamp';
export { toArray } from './toArray';
export { toPromise } from './toPromise';
export { window } from './window';
export { windowCount } from './windowCount';
export { windowTime } from './windowTime';
Expand Down
61 changes: 0 additions & 61 deletions src/operators/toPromise.ts

This file was deleted.

0 comments on commit 031edca

Please sign in to comment.