Fixed a typing in the declaration file

This commit is contained in:
Louis Bailleau 2020-07-30 03:08:31 +02:00
parent 192f9a18ef
commit f7ee07e43f

3
index.d.ts vendored
View file

@ -2,7 +2,6 @@
declare module "minecraft-launcher-core" { declare module "minecraft-launcher-core" {
type OS = "windows" | "osx" | "linux"; type OS = "windows" | "osx" | "linux";
type Type = "release" | "snapshot";
interface IOverrides { interface IOverrides {
minArgs?: number; minArgs?: number;
@ -35,7 +34,7 @@ declare module "minecraft-launcher-core" {
customArgs?: Array<string>; customArgs?: Array<string>;
version: { version: {
number: string; number: string;
type: Type; type: string;
custom?: string; custom?: string;
}; };
memory: { memory: {