Make validateChannelProtocol optional (#972)

This commit is contained in:
IceTank 2022-03-17 09:22:42 +01:00 committed by GitHub
parent f1f9f5c310
commit 11ad7130aa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
src/index.d.ts vendored
View file

@ -148,7 +148,7 @@ declare module 'minecraft-protocol' {
errorHandler?: (client: Client, error: Error) => void
hideErrors?: boolean
agent?: Agent
validateChannelProtocol: boolean
validateChannelProtocol?: boolean
}
export interface SerializerOptions {