Skip to content

Commit

Permalink
feat(reorganize): export Notification from rxjs
Browse files Browse the repository at this point in the history
  • Loading branch information
benlesh committed Jan 12, 2018
1 parent abd3b61 commit 8809b48
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
8 changes: 8 additions & 0 deletions spec/index-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -139,4 +139,12 @@ describe('index', () => {
expect(index.queueScheduler).to.exist;
expect(index.animationFrameScheduler).to.exist;
});

it('should export Subscription', () => {
expect(index.Subscription).to.exist;
});

it('should export Notification', () => {
expect(index.Notification).to.exist;
});
});
7 changes: 6 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,8 +134,13 @@ export { BehaviorSubject } from './BehaviorSubject';
export { ReplaySubject } from './ReplaySubject';

/* Schedulers */

export { asap as asapScheduler } from './scheduler/asap';
export { async as asyncScheduler } from './scheduler/async';
export { queue as queueScheduler } from './scheduler/queue';
export { animationFrame as animationFrameScheduler } from './scheduler/animationFrame';

/* Subscription */
export { Subscription } from './Subscription';

/* Notification */
export { Notification } from './Notification';

0 comments on commit 8809b48

Please sign in to comment.