build(types): 删除旧类型声明文件
删除 @uni-helper/vite-plugin-uni-pages 旧类型声明文件
This commit is contained in:
parent
81e660877e
commit
b2c740425e
28
uni-pages.d.ts
vendored
28
uni-pages.d.ts
vendored
@ -1,28 +0,0 @@
|
|||||||
/* eslint-disable */
|
|
||||||
/* prettier-ignore */
|
|
||||||
// @ts-nocheck
|
|
||||||
// Generated by vite-plugin-uni-pages
|
|
||||||
|
|
||||||
interface NavigateToOptions {
|
|
||||||
url: "/pages/index/index" |
|
|
||||||
"/pages/index/about" |
|
|
||||||
"/pages/index/request" |
|
|
||||||
"/pages/index/request2" |
|
|
||||||
"/pages/index/upload" |
|
|
||||||
"/pages/index/upload2" |
|
|
||||||
"/pages-sub/demo/index";
|
|
||||||
}
|
|
||||||
interface RedirectToOptions extends NavigateToOptions {}
|
|
||||||
|
|
||||||
interface SwitchTabOptions {
|
|
||||||
url: "/pages/index/index" | "/pages/index/about"
|
|
||||||
}
|
|
||||||
|
|
||||||
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;
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user