Skip to content

Commit

Permalink
Fix: add nest prop to Preact types, in line with React types
Browse files Browse the repository at this point in the history
  • Loading branch information
bensaufley authored and molefrog committed Mar 14, 2024
1 parent f2e3b8d commit 5efe317
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/wouter-preact/types/index.d.ts
Expand Up @@ -68,6 +68,7 @@ export interface RouteProps<
component?: ComponentType<
RouteComponentProps<T extends DefaultParams ? T : RouteParams<RoutePath>>
>;
nest?: boolean;
}

export function Route<
Expand Down

0 comments on commit 5efe317

Please sign in to comment.