Skip to content

Commit

Permalink
Fix useRoute composition
Browse files Browse the repository at this point in the history
  • Loading branch information
pleek91 committed Dec 29, 2023
1 parent d7a2690 commit 17a2570
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compositions/useRoute.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ExtractRouteMethodParams, RouteMethod } from '@/types/routeMethods'
import { Identity } from '@/types/utilities'

type Route<T> = {
type Route<T extends RouteMethod> = {
name: string,
params: ExtractRouteMethodParams<T>,
query: unknown,
Expand Down

0 comments on commit 17a2570

Please sign in to comment.