mirror of
https://github.com/minescope/mineping.git
synced 2024-12-25 19:05:46 +00:00
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
11
types/index.d.ts
vendored
11
types/index.d.ts
vendored
@ -1,11 +1,2 @@
|
||||
export { pingJava } from "./lib/java.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;
|
||||
};
|
||||
export { pingBedrock } from "./lib/bedrock.js";
|
9
types/lib/bedrock.d.ts
vendored
9
types/lib/bedrock.d.ts
vendored
@ -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
2
types/lib/java.d.ts
vendored
@ -1,4 +1,4 @@
|
||||
import { PingOptions } from "..";
|
||||
import { PingOptions } from "./bedrock";
|
||||
|
||||
export type SampleProp = {
|
||||
name: string,
|
||||
|
Loading…
Reference in New Issue
Block a user