feat: update import type

Signed-off-by: MiaoWoo <admin@yumc.pw>
clean
MiaoWoo 2020-06-02 18:12:05 +08:00
parent 5b11be11da
commit 476f7acc39
1 changed files with 1 additions and 1 deletions

View File

@ -210,7 +210,7 @@ export class MiaoScriptPackageManager extends interfaces.Plugin {
if (!process.env.AccessToken) { return this.i18n(sender, 'deploy.token.not.exists') }
this.taskManager.create(() => {
if (this.checkPlugin(sender, name)) {
let plugin: interfaces.Plugin = this.pluginManager.getPlugins().get(name);
let plugin: pluginApi.Plugin = this.pluginManager.getPlugins().get(name);
let result = http.post("http://ms.yumc.pw/api/plugin/deploy?access_token=" + process.env.AccessToken, {
name,
author: plugin.description.author,