Skip to content

Commit

Permalink
fix(type): add update type for record mode (#2250)
Browse files Browse the repository at this point in the history
Included 'update' in the BackMode union, following the introduction of the update mode (#2241).
  • Loading branch information
Pimm committed Nov 12, 2021
1 parent bf6b7ec commit e8f23b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Expand Up @@ -240,7 +240,7 @@ declare namespace nock {
options?: Options
}

type BackMode = 'wild' | 'dryrun' | 'record' | 'lockdown'
type BackMode = 'wild' | 'dryrun' | 'record' | 'update' | 'lockdown'

interface Back {
currentMode: BackMode
Expand Down

0 comments on commit e8f23b1

Please sign in to comment.