Commit 5f982606 authored by nanahira's avatar nanahira

remove type from schema

parent 5af3bb00
Pipeline #6288 passed with stages
in 1 minute and 8 seconds
......@@ -2,6 +2,6 @@ import 'source-map-support/register';
import { DefineSchema } from 'koishi-utils-schemagen';
export class MyPluginConfig {
@DefineSchema({ type: 'string', desc: '命令名', default: 'cmd' })
@DefineSchema({ desc: '命令名', default: 'cmd' })
commandName: 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