mirror of
https://github.com/artegoser/pimi-launcher-core.git
synced 2024-11-22 12:16:21 +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 {
|
interface ILauncherOptions {
|
||||||
clientPackage?: string;
|
clientPackage?: string;
|
||||||
removePackage?: boolean;
|
removePackage?: boolean;
|
||||||
installed?: string;
|
installer?: string;
|
||||||
root: string;
|
root: string;
|
||||||
os?: OS;
|
os?: OS;
|
||||||
customLaunchArgs?: Array<string>;
|
customLaunchArgs?: Array<string>;
|
||||||
|
@ -38,8 +38,8 @@ declare module "minecraft-launcher-core" {
|
||||||
custom?: string;
|
custom?: string;
|
||||||
};
|
};
|
||||||
memory: {
|
memory: {
|
||||||
max: string;
|
max: string | number;
|
||||||
min: string;
|
min: string | number;
|
||||||
};
|
};
|
||||||
forge?: string;
|
forge?: string;
|
||||||
javaPath?: string;
|
javaPath?: string;
|
||||||
|
@ -57,6 +57,7 @@ declare module "minecraft-launcher-core" {
|
||||||
window?: {
|
window?: {
|
||||||
width?: number;
|
width?: number;
|
||||||
height?: number;
|
height?: number;
|
||||||
|
fullscreen?: boolean;
|
||||||
};
|
};
|
||||||
overrides?: IOverrides;
|
overrides?: IOverrides;
|
||||||
authorization: Promise<IUser>;
|
authorization: Promise<IUser>;
|
||||||
|
|
Loading…
Add table
Reference in a new issue