From 0491e6fac9f5fd0969bdc10646b174a22d54a724 Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Tue, 24 Sep 2019 10:12:40 +0800 Subject: [PATCH] feat: modify import to reference type Signed-off-by: MiaoWoo --- packages/api/src/index.ts | 2 +- packages/bukkit/src/index.ts | 2 +- packages/sponge/src/index.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/api/src/index.ts b/packages/api/src/index.ts index ab5b8e5f..4290f60b 100644 --- a/packages/api/src/index.ts +++ b/packages/api/src/index.ts @@ -1,4 +1,4 @@ -import './typings/global' +/// export * from './task' export * from './event' diff --git a/packages/bukkit/src/index.ts b/packages/bukkit/src/index.ts index 3dfb87b2..84f29f25 100644 --- a/packages/bukkit/src/index.ts +++ b/packages/bukkit/src/index.ts @@ -1,4 +1,4 @@ -import './typings' +/// import { server, plugin, command, event, task } from '@ms/api' import { DefaultContainer as container } from '@ms/container' diff --git a/packages/sponge/src/index.ts b/packages/sponge/src/index.ts index 1cfce3e0..a79a5f57 100644 --- a/packages/sponge/src/index.ts +++ b/packages/sponge/src/index.ts @@ -1,4 +1,4 @@ -import './typings' +/// import { server, plugin, command, event, task } from '@ms/api' import { DefaultContainer as container } from '@ms/container'