style(types): the PingOptions type was removed from index.d.ts file

The PingOptions type was moved from index.d.ts to lib/bedrock.d.ts
This commit is contained in:
2022-01-11 02:36:01 +03:00
parent a9dd6ff417
commit 9827dd60e2
3 changed files with 10 additions and 12 deletions

View File

@ -1,4 +1,11 @@
import { PingOptions } from "..";
/**
* @param port The server port.
* @param timeout The read/write socket timeout.
*/
export type PingOptions = {
port: number,
timeout: number;
};
export type BedrockPingResponse = {
version: {

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

@ -1,4 +1,4 @@
import { PingOptions } from "..";
import { PingOptions } from "./bedrock";
export type SampleProp = {
name: string,