Skip to content

Commit

Permalink
fix(types): return type of BackOptions.afterRecord (nock#2782)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrnail23 authored Sep 14, 2024
1 parent e72df5e commit fc90bd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
Expand Down

0 comments on commit fc90bd3

Please sign in to comment.