koatty_cli
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -5,5 +5,4 @@ /** | ||
* @ license: Apache License 2.0 | ||
* @ version: 2019-10-18 17:54:43 | ||
* @ version: 2019-10-18 19:40:23 | ||
*/ | ||
import * as Koa from "koa"; | ||
import { Middleware, helper, logger } from "koatty"; | ||
@@ -41,3 +40,3 @@ import { createConnection, Connection, BaseApp } from "typeorm"; | ||
}); | ||
return async function (ctx: Koa.Context, next: any) { | ||
return async function (ctx: any, next: any) { | ||
if (!app.connection) { | ||
@@ -44,0 +43,0 @@ await conn(); |
{ | ||
"compilerOptions": { | ||
/* Basic Options */ | ||
"target": "es2019" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */, | ||
"module": "commonjs" /* Specify module code generation: 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */, | ||
"target": "es2017" /* Specify ECMAScript target version: 'es3' (default), 'es5', 'es2015', 'es2016', 'es2017', or 'esnext'. */, | ||
"module": "commonjs" /* Specify module code generation: 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'esnext'. */, | ||
"lib": [ | ||
"es2019" | ||
"es2017" | ||
] | ||
@@ -9,0 +9,0 @@ /* Specify library files to be included in the compilation: */ , |
@@ -72,2 +72,3 @@ { | ||
"no-var-requires": false, | ||
"no-magic-numbers": false, | ||
"only-arrow-functions": false, | ||
@@ -74,0 +75,0 @@ "no-parameter-reassignment": false, |
{ | ||
"name": "koatty_cli", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "Koatty command line tool.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
28903
597