From ef47007f8a478731164b296a16876046e3c39515 Mon Sep 17 00:00:00 2001 From: aiyanayu Date: Tue, 10 Aug 2021 20:04:49 +0800 Subject: [PATCH] docs: update readme --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f86f3115..5ef9ac4c 100644 --- a/README.md +++ b/README.md @@ -47,10 +47,10 @@ module.exports = { **参数列表**: | Name | Type | default | Optional | Description | | :-: | :-: | :-: | :-: | :-: | -| plugins | [...[Plugin](#Plugins)] | - | yes | [插件](#Plugins)列表 | +| plugins | Array<[Plugin](#Plugins)>| - | yes | [插件](#Plugins)列表 | | cleanLog | boolean | `false` | yes | 是否关闭默认打印 | | logLevel | `DEBUG/INFO/WARN/ERROR` | `DEBUG` | yes | 设置 log level | -| winstonTransports | ...[winston.transports.File] | - | yes | [Winston](#winston-是什么)日志通道 | +| winstonTransports | Array<[TransportStream](https://github.com/winstonjs/winston-transport/blob/master/index.d.ts)> | - | yes | [Winston](#winston-是什么)日志通道 | ### 3. 启动 ```bash npx @tswjs/tsw ./index.js