Files

@mfish/types

用于多个公用的工具类型业务上有通用的类型定义可以放在这里。

用法

添加依赖

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

使用

// 推荐加上 type
import type { Recordable } from "@mfish/types";