Skip to content

Commit

Permalink
fix(react-router): make params.parse and params.stringify optional (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
schiller-manuel authored Oct 31, 2024
1 parent dc44c52 commit dc5ddaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-router/src/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ export type StringifyParamsFn<TPath extends string, TParams> = (

export type ParamsOptions<TPath extends string, TParams> = {
params?: {
parse: ParseParamsFn<TPath, TParams>
stringify: StringifyParamsFn<TPath, TParams>
parse?: ParseParamsFn<TPath, TParams>
stringify?: StringifyParamsFn<TPath, TParams>
}

/**
Expand Down

0 comments on commit dc5ddaa

Please sign in to comment.