Fix connect event typo (#1035)

This commit is contained in:
IceTank 2022-09-30 19:27:16 +02:00 committed by GitHub
parent 00949a02e6
commit cbf663a3eb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
src/index.d.ts vendored
View file

@ -52,7 +52,7 @@ declare module 'minecraft-protocol' {
once(event: 'sessionce', handler: (sessionce: any) => PromiseLike): this
once(event: 'state', handler: (newState: States, oldState: States) => PromiseLike): this
once(event: 'end', handler: (reasonce: string) => PromiseLike): this
once(event: 'concenect', handler: () => PromiseLike): this
once(event: 'connect', handler: () => PromiseLike): this
once(event: string, handler: (data: any, packetMeta: PacketMeta) => PromiseLike): this
once(event: `raw.${string}`, handler: (buffer: Buffer, packetMeta: PacketMeta) => PromiseLike): this
}