koatty_cli
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -5,5 +5,5 @@ /** | ||
* @ license: Apache License 2.0 | ||
* @ version: 2019-10-18 17:44:18 | ||
* @ version: 2019-10-18 19:24:10 | ||
*/ | ||
import { Middleware, helper, BaseApp } from "koatty"; | ||
import { Middleware, helper } from "koatty"; | ||
const defaultOpt = { | ||
@@ -16,3 +16,3 @@ //默认配置项 | ||
export class <Middleware> { | ||
run(options: any, app: BaseApp) { | ||
run(options: any, app: any) { | ||
options = helper.extend(defaultOpt, options); | ||
@@ -19,0 +19,0 @@ //应用启动执行一次 |
{ | ||
"name": "koatty_cli", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Koatty command line tool.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
28904