diff --git a/packages/router-plugin/src/core/code-splitter/compilers.ts b/packages/router-plugin/src/core/code-splitter/compilers.ts index 6107e3311b..71bad3dc04 100644 --- a/packages/router-plugin/src/core/code-splitter/compilers.ts +++ b/packages/router-plugin/src/core/code-splitter/compilers.ts @@ -1380,10 +1380,12 @@ export function detectCodeSplitGroupingsFromRoute(opts: ParseAstOptions): { return } - if (!( - path.node.callee.name === 'createRoute' || - path.node.callee.name === 'createFileRoute' - )) { + if ( + !( + path.node.callee.name === 'createRoute' || + path.node.callee.name === 'createFileRoute' + ) + ) { return } diff --git a/packages/vue-router/src/Matches.tsx b/packages/vue-router/src/Matches.tsx index 9a87448e95..e5343a8964 100644 --- a/packages/vue-router/src/Matches.tsx +++ b/packages/vue-router/src/Matches.tsx @@ -7,7 +7,8 @@ import { useTransitionerSetup } from './Transitioner' import { routeIdContext } from './matchContext' import { Match } from './Match' import { renderInNonRouteComponentContext } from './nonRouteComponentContext' -import type { AnyRouter, +import type { + AnyRouter, DeepPartial, ErrorComponentProps, MakeOptionalPathParams, @@ -20,7 +21,8 @@ import type { AnyRouter, RegisteredRouterOf, ResolveRoute, RouteModuleScope, - ToSubOptionsProps } from '@tanstack/router-core' + ToSubOptionsProps, +} from '@tanstack/router-core' // Define a type for the error component function type ErrorRouteComponentType = (props: ErrorComponentProps) => Vue.VNode