Improve config field definition type

This commit is contained in:
Cooldude2606 committed 2026-03-03 22:22:59 +00:00
1 parent 9877946d68
commit d05a529c52
3 files changed
+26 -10

No files matched your search

+1 -2
View File
@@ -144,7 +144,7 @@ export class ControllerConfig extends classes.Config<ControllerConfigFields> {
"Do not share this.",
restartRequired: true,
type: "string",
optional: true,
initialValue: "",
},
"controller.heartbeat_interval": {
title: "Heartbeat Interval",
@@ -495,7 +495,6 @@ export class InstanceConfig extends classes.Config<InstanceConfigFields> {
"the process. Set to 0 to disable.",
type: "number",
initialValue: 300,
optional: true,
},
"factorio.game_port": {
description: "UDP port to run game on, uses a port in host.factorio_port_range if null",