chore: 初始化文件结构

This commit is contained in:
2024-08-26 14:07:57 +08:00
parent d4f497f484
commit eb13a9efdb
24 changed files with 3035 additions and 0 deletions

29
types/web.d.ts vendored Normal file
View File

@@ -0,0 +1,29 @@
import type {
ComputedRef, DeepReadonly, PropType,
Ref, ShallowRef, UnwrapNestedRefs,
} from 'vue';
import type {
RouteLocationRaw,
} from 'vue-router';
declare global {
// window
interface Window {
}
// Vue
type VueComputedRef<T> = ComputedRef<T>;
type VuePropType<T> = PropType<T>;
type VueReactive<T> = UnwrapNestedRefs<T>;
type VueReadonly<T> = DeepReadonly<UnwrapNestedRefs<T>>;
type VueRef<T> = Ref<T>;
type VueShallowRef<T> = ShallowRef<T>;
// Vue Router
type VueRouteLocationRaw = RouteLocationRaw;
}
export { };