Skip to content

Commit

Permalink
Add RegExp to first parameter type
Browse files Browse the repository at this point in the history
  • Loading branch information
kapouer committed Feb 6, 2023
1 parent 0c1caaa commit e349487
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ declare module "express-urlrewrite" {
module urlRewrite {

interface urlrewrite {
(from: string, to?: string): expressUrlRewriteInstance
(from: string | RegExp, to?: string): expressUrlRewriteInstance
}

interface expressUrlRewriteInstance {
Expand Down

0 comments on commit e349487

Please sign in to comment.