Skip to content

Commit

Permalink
feat(reorganize): export Subject, ReplaySubject, BehaviorSubject from…
Browse files Browse the repository at this point in the history
… rxjs
  • Loading branch information
benlesh committed Jan 12, 2018
1 parent 308b8b3 commit bd683ca
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
6 changes: 6 additions & 0 deletions spec/index-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,4 +126,10 @@ describe('index', () => {
expect(index.withLatestFrom).to.exist;
expect(index.zipAll).to.exist;
});

it('should export the Subject types', () => {
expect(index.Subject).to.exist;
expect(index.BehaviorSubject).to.exist;
expect(index.ReplaySubject).to.exist;
});
});
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -127,3 +127,8 @@ export { windowToggle } from './operators/windowToggle';
export { windowWhen } from './operators/windowWhen';
export { withLatestFrom } from './operators/withLatestFrom';
export { zipAll } from './operators/zipAll';

/* Subjects */
export { Subject } from './Subject';
export { BehaviorSubject } from './BehaviorSubject';
export { ReplaySubject } from './ReplaySubject';

0 comments on commit bd683ca

Please sign in to comment.