admin-vben/packages/types
vince 3eb7a8bc6f chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages 2024-07-14 22:51:10 +08:00
..
src refactor(project): simplified part of the package, code optimization 2024-07-13 16:35:47 +08:00
README.md chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages 2024-07-14 22:51:10 +08:00
build.config.ts chore(project): refactor types dir 2024-05-21 22:14:25 +08:00
global.d.ts refactor(project): business changed its name to effects, and universal-ui changed its name to common-ui 2024-07-13 17:25:15 +08:00
package.json fix: Typecheck and loop dependency problem repair 2024-07-05 11:12:38 +08:00
tsconfig.json chore: update deps 2024-06-02 23:46:18 +08:00

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';