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
benlesh authored Apr 12, 2018

Unverified

This commit is not signed, but one or more authors requires that any commit attributed to them is signed.
1 parent 2b32916 commit 12d4933
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';

1 change: 1 addition & 0 deletions src/internal/operators/groupBy.ts
Original file line number Diff line number Diff line change
@@ -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) {

0 comments on commit 12d4933

Please sign in to comment.