doc: add jsdoc

Signed-off-by: MiaoWoo <admin@yumc.pw>
backup
MiaoWoo 2019-09-22 18:02:28 +08:00
parent b0915648ea
commit 7ca81db573
1 changed files with 19 additions and 0 deletions

View File

@ -11,10 +11,29 @@ export namespace interfaces {
public disable() { }
}
export interface PluginMetadata {
/**
*
*/
name: string;
/**
*
*/
prefix?: string;
/**
*
*/
version: string;
/**
*
*/
author: string | string[];
/**
* __filename
*/
source: string;
/**
*
*/
target?: any;
}
export interface CommandMetadata {