Fixed a typing in the declaration file

This commit is contained in:
Louis Bailleau 2020-07-30 03:08:31 +02:00
parent 715de3fb57
commit c1d37b4bb7

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: {