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 b30613e commit 8be1b88Copy full SHA for 8be1b88
spec/operators/first-spec.ts
@@ -132,7 +132,7 @@ describe('Observable.prototype.first', () => {
132
const e1 = hot('--a-^--b--c--a--c--|');
133
const expected = '---------------(d|)';
134
const sub = '^ !';
135
- expectObservable(e1.pipe(first(x => x === 's', 'd'))).toBe(expected);
+ expectObservable(e1.pipe(first<string>(x => x === 's', 'd'))).toBe(expected);
136
expectSubscriptions(e1.subscriptions).toBe(sub);
137
});
138
0 commit comments