doc: add jsdoc

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2019-09-22 18:02:28 +08:00
parent a7479f60c8
commit c95fc5fcff

View File

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