feat(types): `PingOptions` for Java

This commit is contained in:
Egornya 2023-12-08 15:36:53 +04:00 committed by GitHub
parent da92b62ccd
commit d4176df6c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 1 deletions

11
types/lib/java.d.ts vendored
View File

@ -1,4 +1,13 @@
import { PingOptions } from "./bedrock";
/**
* @param port The server port.
* @param timeout The read/write socket timeout.
* @param protocolVersion The protocol version.
*/
export type PingOptions = {
port: number,
timeout: number,
protocolVersion: number;
};
/**
* JSON format chat component used for description field.