@vben/types
用于多个 app 公用的工具类型,继承了 @vben-core/typings 的所有能力。业务上有通用的类型定义可以放在这里。
用法
添加依赖
# 进入目标应用目录,例如 apps/xxxx-app
# cd apps/xxxx-app
pnpm add @vben/types
使用
// 推荐加上 type
import type { SelectOption } from '@vben/types';
| Name | Last Update |
Last Commit
a16b16b8
–
收银台页面开发中
History
|
|---|---|---|
| .. | ||
| src | Loading commit data... | |
| README.md | Loading commit data... | |
| global.d.ts | Loading commit data... | |
| package.json | Loading commit data... | |
| tsconfig.json | Loading commit data... |