Skip to content

Commit

Permalink
Fixed types
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbl committed Dec 1, 2024
1 parent 7b772c1 commit 46ea74f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/bridge/ModConfig.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ export interface ModConfigSection extends ModConfigBase {
/**
* The description for the section that appears in a help tooltip.
*/
description: string;
description?: string;

/**
* Determines if the section is visible or not.
Expand All @@ -112,14 +112,14 @@ export interface ModConfigSection extends ModConfigBase {
*/
export interface ModConfigFieldBase extends ModConfigBase {
/**
* The description for the field that appears in a help tooltip.
* The name of the field.
*/
description: string;
name: string;

/**
* The name of the field.
* The description for the field that appears in a help tooltip.
*/
name: string;
description?: string;

/**
* Determines if the field is visible or not.
Expand Down

0 comments on commit 46ea74f

Please sign in to comment.