fix async modifier cannot be used in an ambient context. error

This commit is contained in:
RynerNO 2021-03-30 20:45:33 +03:00
parent e6578ac7d9
commit b5f790f4e7

4
index.d.ts vendored
View file

@ -209,8 +209,8 @@ declare module "minecraft-launcher-core" {
protected printVersion(): void; protected printVersion(): void;
protected createRootDirectory(): void; protected createRootDirectory(): void;
protected createGameDirectory(): void; protected createGameDirectory(): void;
protected async extractPackage(): void; protected extractPackage(): Promise<void>;
protected async getModifyJson(): any; protected getModifyJson(): Promise<any>;
protected startMinecraft(launchArguments: string[]): ChildProcessWithoutNullStreams; protected startMinecraft(launchArguments: string[]): ChildProcessWithoutNullStreams;
} }