Skip to content

Commit

Permalink
chore(retryWhen): add dtslint deprecation test
Browse files Browse the repository at this point in the history
related #6367
  • Loading branch information
benlesh committed Mar 7, 2022
1 parent a756654 commit e48e296
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec-dtslint/operators/retryWhen-spec.ts
Expand Up @@ -16,3 +16,7 @@ it('should enforce types', () => {
it('should enforce types of the notifier', () => {
const o = of(1, 2, 3).pipe(retryWhen(() => 8)); // $ExpectError
});

it('should be deprecated', () => {
const o = of(1, 2, 3).pipe(retryWhen(() => of(true))); // $ExpectDeprecation
});

0 comments on commit e48e296

Please sign in to comment.