Commit ce779b04 authored by nanahira's avatar nanahira

clean

parent 0fd03663
import { Context } from 'koishi'; import { Context } from 'koishi';
import { ClassType, Mixin, SchemaProperty } from 'schemastery-gen'; import { ClassType, Mixin, SchemaProperty } from 'schemastery-gen';
import { PluginSchema } from './decorators'; import { PluginSchema } from './decorators';
import { BasePlugin } from './base-plugin';
export function CreatePluginFactory<C, P>( export function CreatePluginFactory<C, P>(
basePlugin: new (ctx: Context, config: C) => P, basePlugin: new (ctx: Context, config: C) => P,
...@@ -22,8 +21,3 @@ export function CreatePluginFactory<C, P>( ...@@ -22,8 +21,3 @@ export function CreatePluginFactory<C, P>(
return plugin; return plugin;
}; };
} }
class TestConfig {
@SchemaProperty()
foo: string;
}
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