ruoyi-plus-vben5/packages/types
2025-05-08 09:28:52 +08:00
..
src Merge branch 'main' of https://github.com/vbenjs/vue-vben-admin 2024-09-11 09:38:40 +08:00
global.d.ts chore: sse配置文件关闭 2024-12-19 11:27:23 +08:00
package.json chore: release v5.5.6 2025-05-06 22:32:58 +08:00
README.md feat: add swap component (#4149) 2024-08-14 20:37:21 +08:00
tsconfig.json chore: update packages 2024-07-30 21:00:20 +08:00

@vben/types

用于多个 app 公用的工具类型,继承了 @vben-core/typings 的所有能力。业务上有通用的类型定义可以放在这里。

用法

添加依赖

# 进入目标应用目录,例如 apps/xxxx-app
# cd apps/xxxx-app
pnpm add @vben/types

使用

// 推荐加上 type
import type { SelectOption } from '@vben/types';