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:
parent
a9dd6ff417
commit
9827dd60e2
|
@ -1,11 +1,2 @@
|
||||||
export { pingJava } from "./lib/java.js";
|
export { pingJava } from "./lib/java.js";
|
||||||
export { pingBedrock } from "./lib/bedrock.js";
|
export { pingBedrock } from "./lib/bedrock.js";
|
||||||
|
|
||||||
/**
|
|
||||||
* @param port The server port.
|
|
||||||
* @param timeout The read/write socket timeout.
|
|
||||||
*/
|
|
||||||
export type PingOptions = {
|
|
||||||
port: number,
|
|
||||||
timeout: number;
|
|
||||||
};
|
|
|
@ -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 = {
|
export type BedrockPingResponse = {
|
||||||
version: {
|
version: {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
import { PingOptions } from "..";
|
import { PingOptions } from "./bedrock";
|
||||||
|
|
||||||
export type SampleProp = {
|
export type SampleProp = {
|
||||||
name: string,
|
name: string,
|
||||||
|
|
Loading…
Reference in New Issue