diff --git a/src/index.d.ts b/src/index.d.ts index b74b7c8..c522d7e 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -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 }