Skip to content

Commit 9bdf1c1

Browse files
committed
Autogenerate ./types
1 parent 2e6d5d5 commit 9bdf1c1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

types/gui/options/mod-options-menu.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { ModEntry } from '../../types';
22
import { ModOptionsSettings } from '../../mod-options';
33
declare global {
44
namespace modmanager {
5-
function openModOptionsMenu(modId: string): void;
5+
function openModOptionsMenu(modId: string, tab?: number): void;
66
}
77
namespace modmanager.gui {
88
interface OptionsMenu extends sc.BaseMenu, sc.Model.Observer {

types/gui/options/tabbox.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ declare global {
4343
_createTabButton(this: this, title: string, x: number, categoryId: string, icon?: string): modmanager.gui.OptionsTabBox.TabButton;
4444
onButtonTraversal(this: this): void;
4545
_resetButtons(this: this, tabButton?: modmanager.gui.OptionsTabBox.TabButton, unfocus?: boolean): void;
46-
setCurrentTab(this: this, tabIndex: number): void;
46+
setCurrentTab(this: this, tabIndex: number, noSound?: boolean): void;
4747
addObservers(this: this): void;
4848
removeObservers(this: this): void;
4949
}

0 commit comments

Comments
 (0)