Skip to content

Commit

Permalink
Fixed Relative types
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbl committed Jun 9, 2024
1 parent 7d52c2d commit d3d11de
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/renderer/types.d.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
import { JSONData, TSVData, Relative } from './ModAPITypes';
import { JSONData, TSVData } from './ModAPITypes';
import { ModConfig, ModConfigValue } from './ModConfigTypes';
import { IReadOnlyPreferences } from './PreferenceTypes';

declare global {
// keep in sync with api.ts
enum Relative {
// files in the game folder will be accessed via fully resolved paths
None = 'None',
App = 'App',
Saves = 'Saves',
}

type ILogLevel = 'error' | 'warn' | 'log' | 'debug';

type IInstallModsOptions = IReadOnlyPreferences & { isDryRun: boolean };
Expand Down

0 comments on commit d3d11de

Please sign in to comment.