We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ba0358 commit 0a6f049Copy full SHA for 0a6f049
spec/Subject-spec.ts
@@ -524,6 +524,10 @@ describe('Subject', () => {
524
});
525
526
describe('AnonymousSubject', () => {
527
+ it('should be exposed', () => {
528
+ expect(Rx.AnonymousSubject).to.be.a('function');
529
+ });
530
+
531
it('should not eager', () => {
532
let subscribed = false;
533
src/Rx.ts
@@ -2,7 +2,7 @@
2
// Subject imported before Observable to bypass circular dependency issue since
3
// Subject extends Observable and Observable references Subject in it's
4
// definition
5
-export {Subject} from './Subject';
+export {Subject, AnonymousSubject} from './Subject';
6
/* tslint:enable:no-unused-variable */
7
export {Observable} from './Observable';
8
0 commit comments