mirror of
https://github.com/PrismarineJS/node-minecraft-protocol.git
synced 2024-11-27 17:55:45 -05:00
Wrong type definition for beforePing (#957)
* `favicon` now include in types * fix `beforePing` type
This commit is contained in:
parent
ffeb7515e3
commit
4691abd036
1 changed files with 1 additions and 1 deletions
2
src/index.d.ts
vendored
2
src/index.d.ts
vendored
|
@ -136,7 +136,7 @@ declare module 'minecraft-protocol' {
|
|||
kickTimeout?: number
|
||||
checkTimeoutInterval?: number
|
||||
'online-mode'?: boolean
|
||||
beforePing?: (response: any, client: Client, callback?: (result: any) => any) => any
|
||||
beforePing?: (response: any, client: Client, callback?: (error: any, result: any) => any) => any
|
||||
beforeLogin?: (client: Client) => void
|
||||
motd?: string
|
||||
maxPlayers?: number
|
||||
|
|
Loading…
Reference in a new issue