Commit 5af3bb00 authored by nanahira's avatar nanahira

fix

parent 324f0707
Pipeline #6280 passed with stages
in 1 minute and 18 seconds
import 'source-map-support/register';
import { Context } from 'koishi';
import { MyPlugin } from './plugin';
import { Config } from './config';
export { Config } from './config';
import { MyPluginConfig } from './config';
export { MyPluginConfig } from './config';
export const name = 'myplugin';
const plugin = new MyPlugin();
export const schema = plugin.schema;
export function apply(ctx: Context, config: Partial<Config>) {
export function apply(ctx: Context, config: Partial<MyPluginConfig>) {
ctx.plugin(plugin, config);
}
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