From fc90bd3a861264c069b779d0b45c7754573e839f Mon Sep 17 00:00:00 2001 From: James Nail Date: Sat, 14 Sep 2024 16:47:21 -0400 Subject: [PATCH] fix(types): return type of BackOptions.afterRecord (#2782) --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 4a6cc2612..9c0ec385c 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -289,7 +289,7 @@ declare namespace nock { interface BackOptions { before?: (def: Definition) => void after?: (scope: Scope) => void - afterRecord?: (defs: Definition[]) => Definition[] + afterRecord?: (defs: Definition[]) => Definition[] | string recorder?: RecorderOptions } }