Skip to content

Commit

Permalink
fix(groupBy): reexporting the GroupedObservable type (#3556)
Browse files Browse the repository at this point in the history
We are now exporting the GroupedObservable type. This also marked the constructor as deprecated, as it is really for internal use only, and subject to change at any time.

fixes #3551
  • Loading branch information
benlesh authored Apr 12, 2018
1 parent 2b32916 commit 12d4933
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* Observable */
export { Observable } from './internal/Observable';
export { ConnectableObservable } from './internal/observable/ConnectableObservable';
export { GroupedObservable } from './internal/operators/groupBy';
export { Operator } from './internal/Operator';
export { observable } from './internal/symbol/observable';

Expand Down
1 change: 1 addition & 0 deletions src/internal/operators/groupBy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ class GroupDurationSubscriber<K, T> extends Subscriber<T> {
* @class GroupedObservable<K, T>
*/
export class GroupedObservable<K, T> extends Observable<T> {
/** @deprecated Do not construct this type. Internal use only */
constructor(public key: K,
private groupSubject: Subject<T>,
private refCountSubscription?: RefCountSubscription) {
Expand Down

0 comments on commit 12d4933

Please sign in to comment.