Skip to content

Commit

Permalink
Enable code hinting on PrivateSet wrap prop
Browse files Browse the repository at this point in the history
  • Loading branch information
Philzen authored Dec 2, 2024
1 parent e738350 commit 70f4450
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/router/src/Set.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,10 @@ export function Set<WrapperProps>(props: SetProps<WrapperProps>) {

type PrivateSetProps<P> = P & Omit<
SetProps<P>,
'private' | 'unauthenticated' | 'wrap'
'private' | 'unauthenticated'
> & {
/** The page name where a user will be redirected when not authenticated */
unauthenticated: string
wrap?: WrapperType<P> | WrapperType<P>[]
}

/** @deprecated Please use `<PrivateSet>` instead */
Expand Down

0 comments on commit 70f4450

Please sign in to comment.