From 79577046f1372f3431925942632fe7136f05b2c4 Mon Sep 17 00:00:00 2001 From: Ben Lesh Date: Fri, 4 Mar 2022 09:50:52 -0600 Subject: [PATCH] chore(retryWhen): add dtslint deprecation test related #6367 --- spec-dtslint/operators/retryWhen-spec.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec-dtslint/operators/retryWhen-spec.ts b/spec-dtslint/operators/retryWhen-spec.ts index 3e02efb309..14cef47877 100644 --- a/spec-dtslint/operators/retryWhen-spec.ts +++ b/spec-dtslint/operators/retryWhen-spec.ts @@ -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 +}); \ No newline at end of file