mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-14 19:04:59 -05:00
Fix connect event typo (#1035)
This commit is contained in:
parent
00949a02e6
commit
cbf663a3eb
1 changed files with 1 additions and 1 deletions
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
|
@ -52,7 +52,7 @@ declare module 'minecraft-protocol' {
|
||||||
once(event: 'sessionce', handler: (sessionce: any) => PromiseLike): this
|
once(event: 'sessionce', handler: (sessionce: any) => PromiseLike): this
|
||||||
once(event: 'state', handler: (newState: States, oldState: States) => PromiseLike): this
|
once(event: 'state', handler: (newState: States, oldState: States) => PromiseLike): this
|
||||||
once(event: 'end', handler: (reasonce: string) => 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: string, handler: (data: any, packetMeta: PacketMeta) => PromiseLike): this
|
||||||
once(event: `raw.${string}`, handler: (buffer: Buffer, packetMeta: PacketMeta) => PromiseLike): this
|
once(event: `raw.${string}`, handler: (buffer: Buffer, packetMeta: PacketMeta) => PromiseLike): this
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue