Skip to content

Commit

Permalink
fix(types): allow regexp on Definition#scope and Definition#path (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
quaternion committed Jun 30, 2022
1 parent 44ee56f commit 2edf341
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions types/index.d.ts
Expand Up @@ -228,8 +228,8 @@ declare namespace nock {
}

interface Definition {
scope: string
path: string
scope: string | RegExp
path: string | RegExp
port?: number | string
method?: string
status?: number
Expand Down

0 comments on commit 2edf341

Please sign in to comment.