uni-pages.d.ts 732 B

1234567891011121314151617181920212223
  1. /* eslint-disable */
  2. /* prettier-ignore */
  3. // @ts-nocheck
  4. // Generated by vite-plugin-uni-pages
  5. interface NavigateToOptions {
  6. url: "/pages/index/index" |
  7. "/pages/about/index";
  8. }
  9. interface RedirectToOptions extends NavigateToOptions {}
  10. interface SwitchTabOptions {
  11. url: "/pages/index/index" | "/pages/about/about"
  12. }
  13. type ReLaunchOptions = NavigateToOptions | SwitchTabOptions;
  14. declare interface Uni {
  15. navigateTo(options: UniNamespace.NavigateToOptions & NavigateToOptions): void;
  16. redirectTo(options: UniNamespace.RedirectToOptions & RedirectToOptions): void;
  17. switchTab(options: UniNamespace.SwitchTabOptions & SwitchTabOptions): void;
  18. reLaunch(options: UniNamespace.ReLaunchOptions & ReLaunchOptions): void;
  19. }