feat: modify import to reference type

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2019-09-24 10:12:40 +08:00
parent 562e2d0017
commit 325f2c8cf9
3 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
import './typings/global' /// <reference path="./typings/global.ts" />
export * from './task' export * from './task'
export * from './event' export * from './event'

View File

@ -1,4 +1,4 @@
import './typings' /// <reference path="./typings/index.ts" />
import { server, plugin, command, event, task } from '@ms/api' import { server, plugin, command, event, task } from '@ms/api'
import { DefaultContainer as container } from '@ms/container' import { DefaultContainer as container } from '@ms/container'

View File

@ -1,4 +1,4 @@
import './typings' /// <reference path="./typings/index.ts" />
import { server, plugin, command, event, task } from '@ms/api' import { server, plugin, command, event, task } from '@ms/api'
import { DefaultContainer as container } from '@ms/container' import { DefaultContainer as container } from '@ms/container'