Commit 11abc4c9 authored by nanahira's avatar nanahira

tweak

parent 31ac4021
...@@ -7,11 +7,11 @@ import { ...@@ -7,11 +7,11 @@ import {
KoishiCommandPutDef, KoishiCommandPutDef,
KoishiOnContextScope, KoishiOnContextScope,
OnContextFunction, OnContextFunction,
} from './def'; } from '../def';
import 'reflect-metadata'; import 'reflect-metadata';
import { Argv, Command, FieldCollector, Selection, Session } from 'koishi'; import { Argv, Command, FieldCollector, Selection, Session } from 'koishi';
import { Metadata } from './meta/metadata.decorators'; import { Metadata } from '../meta/metadata.decorators';
import { CommandPut, DoRegister } from './registry'; import { CommandPut, DoRegister } from '../registry';
// Register method // Register method
......
export * from './decorators';
...@@ -4,7 +4,7 @@ import { ...@@ -4,7 +4,7 @@ import {
UseCommand, UseCommand,
UseEvent, UseEvent,
UseMiddleware, UseMiddleware,
} from '../src/decorators'; } from '../src/decorators/decorators';
import { App, Command, Next, Session } from 'koishi'; import { App, Command, Next, Session } from 'koishi';
import { Registrar } from '../src/register'; import { Registrar } from '../src/register';
import { EventNameAndPrepend } from '../src/def'; import { EventNameAndPrepend } from '../src/def';
......
import { OnGuild, OnPlatform } from '../src/decorators'; import { OnGuild, OnPlatform } from '../src/decorators/decorators';
import { App, Session } from 'koishi'; import { App, Session } from 'koishi';
import { Registrar } from '../src/register'; import { Registrar } from '../src/register';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment