Merge pull request #61 from Suyashtnt/better-ts

Update index.d.ts
This commit is contained in:
Pierce 2021-02-10 16:52:04 -08:00 committed by GitHub
commit 4e327ec68d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
index.d.ts vendored
View file

@ -205,7 +205,7 @@ declare module "minecraft-launcher-core" {
import { ChildProcessWithoutNullStreams } from 'child_process'
export class Client extends EventEmitter {
launch(options: ILauncherOptions): ChildProcessWithoutNullStreams | null;
launch(options: ILauncherOptions): Promise<ChildProcessWithoutNullStreams | null>;
}
export const Authenticator: IAuthenticator;