3
3
// @ts -nocheck
4
4
// Generated by vite-plugin-uni-pages
5
5
6
+ type _LocationUrl =
7
+ "/pages/index" |
8
+ "/pages/A-top" |
9
+ "/pages/i18n" |
10
+ "/pages/test-json" |
11
+ "/pages/test-jsonc-with-comment" |
12
+ "/pages/test-yaml" |
13
+ "/pages/test" |
14
+ "/pages/blog/index" |
15
+ "/pages/blog/post" |
16
+ "/pages/define-page/async-function" |
17
+ "/pages/define-page/conditional-compilation" |
18
+ "/pages/define-page/function" |
19
+ "/pages/define-page/nested-function" |
20
+ "/pages/define-page/object" |
21
+ "/pages/define-page/option-api" |
22
+ "/pages/define-page/remove-console" |
23
+ "/pages/define-page/yaml" |
24
+ "/pages-sub/index" |
25
+ "/pages-sub/about/index" |
26
+ "/pages-sub/about/your" ;
27
+
6
28
interface NavigateToOptions {
7
- url : "/pages/index" |
8
- "/pages/A-top" |
9
- "/pages/i18n" |
10
- "/pages/test-json" |
11
- "/pages/test-jsonc-with-comment" |
12
- "/pages/test-yaml" |
13
- "/pages/test" |
14
- "/pages/blog/index" |
15
- "/pages/blog/post" |
16
- "/pages/define-page/async-function" |
17
- "/pages/define-page/conditional-compilation" |
18
- "/pages/define-page/function" |
19
- "/pages/define-page/nested-function" |
20
- "/pages/define-page/object" |
21
- "/pages/define-page/option-api" |
22
- "/pages/define-page/remove-console" |
23
- "/pages/define-page/yaml" |
24
- "/pages-sub/index" |
25
- "/pages-sub/about/index" |
26
- "/pages-sub/about/your" ;
29
+ url : _LocationUrl ;
27
30
}
28
31
interface RedirectToOptions extends NavigateToOptions { }
29
32
@@ -39,3 +42,7 @@ declare interface Uni {
39
42
switchTab ( options : UniNamespace . SwitchTabOptions & SwitchTabOptions ) : void ;
40
43
reLaunch ( options : UniNamespace . ReLaunchOptions & ReLaunchOptions ) : void ;
41
44
}
45
+
46
+ declare module "virtual:uni-pages" {
47
+ export type LocationUrl = _LocationUrl ;
48
+ }
0 commit comments