mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-05 21:23:59 +03:00
Fixed typing error, and update memory and window types in index.d.ts
.
This commit is contained in:
parent
98d780f338
commit
bd2250df90
1 changed files with 4 additions and 3 deletions
7
index.d.ts
vendored
7
index.d.ts
vendored
|
@ -27,7 +27,7 @@ declare module "minecraft-launcher-core" {
|
|||
interface ILauncherOptions {
|
||||
clientPackage?: string;
|
||||
removePackage?: boolean;
|
||||
installed?: string;
|
||||
installer?: string;
|
||||
root: string;
|
||||
os?: OS;
|
||||
customLaunchArgs?: Array<string>;
|
||||
|
@ -38,8 +38,8 @@ declare module "minecraft-launcher-core" {
|
|||
custom?: string;
|
||||
};
|
||||
memory: {
|
||||
max: string;
|
||||
min: string;
|
||||
max: string | number;
|
||||
min: string | number;
|
||||
};
|
||||
forge?: string;
|
||||
javaPath?: string;
|
||||
|
@ -57,6 +57,7 @@ declare module "minecraft-launcher-core" {
|
|||
window?: {
|
||||
width?: number;
|
||||
height?: number;
|
||||
fullscreen?: boolean;
|
||||
};
|
||||
overrides?: IOverrides;
|
||||
authorization: Promise<IUser>;
|
||||
|
|
Loading…
Reference in a new issue