You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vince 66fd052709
fix: fix known issues. fixed #59,fixed #61, fixed #67, fixed #68 [deploy]
1 year ago
..
src refactor(project): simplified part of the package, code optimization 1 year ago
README.md chore: @vben-core/iconify was renamed @vben-core/icons. Add readme.md for some packages 1 year ago
build.config.ts chore(project): refactor types dir 2 years ago
global.d.ts fix: fix known issues. fixed #59,fixed #61, fixed #67, fixed #68 [deploy] 1 year ago
package.json feat: Feature/pro docs (#70) 1 year ago
tsconfig.json chore: update deps 2 years ago

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