koishi-core
Advanced tools
Comparing version 2.0.0-alpha.4 to 2.0.0-alpha.5
@@ -44,3 +44,3 @@ /// <reference types="node" /> | ||
} | ||
export declare type UserType<T> = T extends (...args: any) => any ? never : T | ((user: UserData) => T); | ||
export declare type UserType<T> = T | ((user: UserData) => T); | ||
export interface CommandConfig { | ||
@@ -47,0 +47,0 @@ /** description */ |
@@ -325,4 +325,5 @@ "use strict"; | ||
let skipped = false; | ||
argv.next = (_next) => { | ||
argv.next = async (_next) => { | ||
skipped = true; | ||
await this.app.parallelize(argv.meta, 'after-command', argv); | ||
return next(_next); | ||
@@ -329,0 +330,0 @@ }; |
{ | ||
"name": "koishi-core", | ||
"description": "Core features for Koishi", | ||
"version": "2.0.0-alpha.4", | ||
"version": "2.0.0-alpha.5", | ||
"main": "dist/index.js", | ||
@@ -39,4 +39,4 @@ "typings": "dist/index.d.ts", | ||
"get-port": "^5.1.1", | ||
"koishi-database-memory": "^2.0.0-alpha.4", | ||
"koishi-test-utils": "^4.0.0-alpha.4" | ||
"koishi-database-memory": "^2.0.0-alpha.5", | ||
"koishi-test-utils": "^4.0.0-alpha.5" | ||
}, | ||
@@ -43,0 +43,0 @@ "dependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
284151
3487