Skip to content
This repository was archived by the owner on Nov 15, 2022. It is now read-only.

Commit cbf663a

Browse files
authored
Fix connect event typo (PrismarineJS#1035)
1 parent 00949a0 commit cbf663a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ declare module 'minecraft-protocol' {
5252
once(event: 'sessionce', handler: (sessionce: any) => PromiseLike): this
5353
once(event: 'state', handler: (newState: States, oldState: States) => PromiseLike): this
5454
once(event: 'end', handler: (reasonce: string) => PromiseLike): this
55-
once(event: 'concenect', handler: () => PromiseLike): this
55+
once(event: 'connect', handler: () => PromiseLike): this
5656
once(event: string, handler: (data: any, packetMeta: PacketMeta) => PromiseLike): this
5757
once(event: `raw.${string}`, handler: (buffer: Buffer, packetMeta: PacketMeta) => PromiseLike): this
5858
}

0 commit comments

Comments
 (0)