Skip to content

Commit b9a8aa8

Browse files
committed
Autogenerate ./types
1 parent 3c4dda5 commit b9a8aa8

3 files changed

Lines changed: 5 additions & 1 deletion

File tree

types/gui/list-entry.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ModEntry, ModEntryLocal } from '../types';
1+
import { ModEntry, ModEntryLocal, ModImageConfig } from '../types';
22
import './list-entry-highlight';
33
declare global {
44
namespace modmanager.gui {
@@ -26,6 +26,7 @@ declare global {
2626
ninepatch: ig.NinePatch;
2727
};
2828
iconGui: ig.ImageGui;
29+
updateIcon(this: this, config: ModImageConfig): void;
2930
tryDisableMod(this: this, mod: ModEntryLocal): string | undefined;
3031
tryEnableMod(this: this, mod: ModEntryLocal): string | undefined;
3132
toggleSelection(this: this, force?: boolean): string | undefined;

types/mod-installer.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ export declare class ModInstaller {
2424
static byNameRecord: Record<string, ModEntryServer>;
2525
static virtualMods: Record<string, ModEntryLocalVirtual>;
2626
static modsDir: string;
27+
private static rimraf;
2728
static init(): void;
2829
private static getModByDepName;
2930
private static setOrAddNewer;

types/plugin.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
import { Mod1 } from './types';
22
import './mod-options';
3+
export declare function isFullMode(): boolean;
4+
export declare function openLink(url: string): void;
35
export default class ModManager {
46
static dir: string;
57
static mod: Mod1;

0 commit comments

Comments
 (0)