Merge pull request #67 from RynerNO/master

fix async modifier cannot be used in an ambient context error
This commit is contained in:
Pierce 2021-04-02 18:09:25 -07:00 committed by GitHub
commit c5a0a6c72c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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;
} }