feat: optimize code

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-02-27 12:26:04 +08:00
parent 13c0584749
commit 4d64a5d264
6 changed files with 29 additions and 10 deletions

View File

@ -1,4 +1,4 @@
/// <reference types='@ms/ployfill' />
import "@ms/ployfill"
export * from './task'
export * from './event'
export * from './console'

View File

@ -1,6 +1,6 @@
/// <reference types="@ms/types/dist/typings/bukkit" />
import { server, command, event, channel, task } from '@ms/api'
import { server } from '@ms/api'
import { Container } from '@ms/container'
import { BukkitConsole } from './console';

View File

@ -1,6 +1,6 @@
/// <reference types="@ms/types/dist/typings/bungee" />
import { server, command, event, channel, task } from '@ms/api'
import { server } from '@ms/api'
import { Container } from '@ms/container'
import { BungeeConsole } from './console';

View File

@ -28,6 +28,7 @@
"typescript": "^3.8.2"
},
"dependencies": {
"@ms/common": "^0.2.1",
"@ms/container": "^0.2.1",
"@ms/ployfill": "^0.2.1",
"js-yaml": "^3.13.1"

View File

@ -31,6 +31,7 @@
"@ms/api": "^0.2.1",
"@ms/common": "^0.2.1",
"@ms/container": "^0.2.1",
"@ms/i18n": "^0.2.1",
"js-yaml": "^3.13.1"
}
}