Skip to content

Commit 9e39f63

Browse files
committed
docs: change generatePath params type
1 parent 47869b7 commit 9e39f63

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/utils/generate-path.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ title: generatePath
2626
declare function generatePath<Path extends string>(
2727
path: Path,
2828
params?: {
29-
[key in PathParams<Path> | (string & {})]: string
29+
[key in PathParams<Path>]: string
3030
}
3131
): string;
3232
```

0 commit comments

Comments
 (0)