Skip to content

Commit d976b92

Browse files
committed
test(filter): enable type inference to marble diagram
- relates to ReactiveX#1633
1 parent dc06e01 commit d976b92

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

spec/operators/filter-spec.ts

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
import {expect} from 'chai';
22
import * as Rx from '../../dist/cjs/Rx';
3-
declare const {hot, cold, asDiagram, expectObservable, expectSubscriptions};
3+
import marbleTestingSignature = require('../helpers/marble-testing');
4+
5+
declare const { asDiagram };
6+
declare const hot: typeof marbleTestingSignature.hot;
7+
declare const cold: typeof marbleTestingSignature.cold;
8+
declare const expectObservable: typeof marbleTestingSignature.expectObservable;
9+
declare const expectSubscriptions: typeof marbleTestingSignature.expectSubscriptions;
410

511
const Observable = Rx.Observable;
612

0 commit comments

Comments
 (0)