This commit is contained in:
dap
2025-01-01 12:57:20 +08:00
251 changed files with 619 additions and 959 deletions

View File

@@ -45,7 +45,7 @@
"default": "./dist/store.mjs"
},
"./global-state": {
"types": "./dist/global-state.d.ts",
"types": "./src/global-state.ts",
"development": "./src/global-state.ts",
"default": "./dist/global-state.mjs"
}

View File

@@ -1,4 +1,6 @@
import { type ClassValue, clsx } from 'clsx';
import type { ClassValue } from 'clsx';
import { clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
function cn(...inputs: ClassValue[]) {

View File

@@ -1,4 +1,4 @@
import { type ComputedRef, type MaybeRef } from 'vue';
import type { ComputedRef, MaybeRef } from 'vue';
/**
* 深层递归所有属性为可选

View File

@@ -1,6 +1,5 @@
import type { RouteRecordRaw } from 'vue-router';
import type { Component } from 'vue';
import type { RouteRecordRaw } from 'vue-router';
/**
* 扩展路由原始对象

View File

@@ -1,6 +1,5 @@
import type { Router, RouteRecordRaw } from 'vue-router';
import type { Component } from 'vue';
import type { Router, RouteRecordRaw } from 'vue-router';
interface RouteMeta {
/**