diff --git a/spec/index-spec.ts b/spec/index-spec.ts index 78776badfb..1542ce4c07 100644 --- a/spec/index-spec.ts +++ b/spec/index-spec.ts @@ -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; + }); }); diff --git a/src/index.ts b/src/index.ts index 28c9256dce..8971b243fa 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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';