Skip to content

Commit

Permalink
fix(fast-path-parse): declaration types fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dalisoft committed Sep 3, 2024
1 parent dd18059 commit 30825e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions packages/fast-path-parse/aot/match.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
function match(
path: string
): (pathname: string, params?: Record<string, string>) => boolean;
function match(path: string): (pathname: string) => boolean;

export = match;
4 changes: 1 addition & 3 deletions packages/fast-path-parse/runtime/match.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
function match(
path: string
): (pathname: string, params?: Record<string, string>) => boolean;
function match(path: string): (pathname: string) => boolean;

export = match;

0 comments on commit 30825e5

Please sign in to comment.