Skip to content

Commit

Permalink
fix(projects): fix elegant router generated dts
Browse files Browse the repository at this point in the history
  • Loading branch information
honghuangdc committed Jan 18, 2024
1 parent ea2a1f9 commit 2b02bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue/src/core/dts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ declare module "@elegant-router/types" {
name: K;
path: RouteMap[K];
component: \`${LAYOUT_PREFIX}\${RouteLayout}\`;
children: (CustomCenterLevelRoute<GetChildRouteKey<K>> | CustomLastLevelRoute<K>)[];
children: (CustomCenterLevelRoute<GetChildRouteKey<K>> | CustomLastLevelRoute<GetChildRouteKey<K>>)[];
}
: never;
Expand Down

0 comments on commit 2b02bbf

Please sign in to comment.