Skip to content

Commit 5a94e7d

Browse files
committed
fix Router types, make singleFlight optional
1 parent dfb15bd commit 5a94e7d

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

.changeset/wise-owls-do.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@solidjs/router": patch
3+
---
4+
5+
fix Router types, make singleFlight optional

src/routers/components.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export type BaseRouterProps = {
3131
*/
3232
root?: Component<RouteSectionProps>;
3333
rootLoad?: RouteLoadFunc;
34-
singleFlight: boolean;
34+
singleFlight?: boolean;
3535
children?: JSX.Element | RouteDefinition | RouteDefinition[];
3636
};
3737

0 commit comments

Comments
 (0)