dependabot[bot] ca164b0f9b chore(deps): bump the non-breaking-changes group with 14 updates (#4092) hace 7 meses
..
src daa31f7156 refactor(project): simplified part of the package, code optimization hace 8 meses
README.md 3eb7a8bc6f chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages hace 8 meses
global.d.ts 9b98b3190e chore: update deps hace 8 meses
package.json ca164b0f9b chore(deps): bump the non-breaking-changes group with 14 updates (#4092) hace 7 meses
tsconfig.json e6403868fc chore: update packages hace 8 meses

README.md

@vben/types

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

用法

添加依赖

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

使用

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