UNPKG

ohayolibs

Version:

Ohayo is a set of essential modules for ohayojp.

33 lines (23 loc) 492 B
--- order: 1 title: 开始使用 type: Documents --- @ohayo/util 是一组日常普通使用的工具函数的集合。 ## 如何使用 安装 `@ohayo/util` 依赖包: ```bash yarn add @ohayo/util ``` 导入 `OhayoUtilModule` 模块: ```typescript import { OhayoUtilModule } from '@ohayo/util'; @NgModule({ imports: [ OhayoUtilModule ] }) export class AppModule { } ``` ## 参数 可以通过[全局配置](/docs/global-config)覆盖 `ArrayService` 设置映射名称。