Commit e52d5fe3 authored by nanahira's avatar nanahira

rename

parent 8e90cc89
...@@ -63,7 +63,7 @@ export function KoishiPlugin<T = any>( ...@@ -63,7 +63,7 @@ export function KoishiPlugin<T = any>(
>(originalClass: C) { >(originalClass: C) {
const addUsingList = reflector.getArray(KoishiAddUsingList, originalClass); const addUsingList = reflector.getArray(KoishiAddUsingList, originalClass);
const newClass = class extends originalClass implements PluginClass { const newClass = class extends originalClass implements PluginClass {
static schema = static Config =
options.schema && options.schema &&
((options.schema as Schema).type ((options.schema as Schema).type
? (options.schema as Schema<Partial<T>, T>) ? (options.schema as Schema<Partial<T>, T>)
......
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