improve registerConfig

This commit is contained in:
2024-09-22 18:33:22 +06:00
parent c2d6afccc2
commit a7fe1e3d82
2 changed files with 13 additions and 11 deletions

View File

@@ -26,7 +26,7 @@ object HelloPlugin : Plugin {
)
override fun Module.setupDI(config: JsonObject) {
registerConfig<HelloPluginConfig>("helloPlugin")
registerConfig<HelloPluginConfig>("helloPlugin") { null }
}
private sealed interface InternalFSMState : State {