We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0b0a9b1 commit 833a3e7Copy full SHA for 833a3e7
packages/router/src/experimental/index.ts
@@ -36,12 +36,13 @@ export type {
36
ParamParser,
37
} from './route-resolver/matchers/matcher-pattern'
38
39
-import type { RouteRecordNormalized } from '../matcher/types'
40
-
41
// in the new experimental router, there are only parents
42
// this should create type errors if someone is realying on children
43
declare module 'vue-router' {
44
export interface RouteLocationMatched {
45
- children?: RouteRecordNormalized['children']
+ /**
+ * The experimental router uses a `parent` property instead of `children`.
+ */
46
+ children?: never
47
}
48
0 commit comments