-
Notifications
You must be signed in to change notification settings - Fork 3
/
uni-pages.d.ts
29 lines (25 loc) · 971 Bytes
/
uni-pages.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
/* eslint-disable */
/* prettier-ignore */
// @ts-nocheck
// Generated by vite-plugin-uni-pages
interface NavigateToOptions {
url: "/pages/login/index" |
"/pages/dashboard/detail" |
"/pages/dashboard/index" |
"/pages/guide/index" |
"/pages/mine/index" |
"/pages/scene/index" |
"/pages/space/index" |
"/pages/toLogin/index";
}
interface RedirectToOptions extends NavigateToOptions {}
interface SwitchTabOptions {
url: "/pages/space/index" | "/pages/scene/index" | "/pages/dashboard/index" | "/pages/mine/index"
}
type ReLaunchOptions = NavigateToOptions | SwitchTabOptions;
declare interface Uni {
navigateTo(options: UniNamespace.NavigateToOptions & NavigateToOptions): void;
redirectTo(options: UniNamespace.RedirectToOptions & RedirectToOptions): void;
switchTab(options: UniNamespace.SwitchTabOptions & SwitchTabOptions): void;
reLaunch(options: UniNamespace.ReLaunchOptions & ReLaunchOptions): void;
}