Skip to content

Commit b36b0c7

Browse files
committed
fix: update types
1 parent 78361f8 commit b36b0c7

File tree

1 file changed

+59
-11
lines changed

1 file changed

+59
-11
lines changed

types/lib/Server.d.ts

+59-11
Original file line numberDiff line numberDiff line change
@@ -2724,13 +2724,11 @@ declare class Server {
27242724
cli: {
27252725
negatedDescription: string;
27262726
};
2727-
description?: undefined;
2728-
link?: undefined;
2727+
$ref?: undefined;
27292728
}
27302729
| {
2731-
type: string;
2732-
description: string;
2733-
link: string;
2730+
$ref: string;
2731+
type?: undefined;
27342732
cli?: undefined /** @typedef {import("express").Request} Request */;
27352733
}
27362734
)[];
@@ -2782,16 +2780,13 @@ declare class Server {
27822780
| {
27832781
type: string;
27842782
minLength: number;
2785-
/** @type {ServerConfiguration} */ items?: undefined;
2783+
items?: undefined;
27862784
}
27872785
)[];
27882786
description: string;
27892787
};
27902788
options: {
2791-
type: string;
2792-
description: string;
2793-
link: string;
2794-
additionalProperties: boolean;
2789+
$ref: string;
27952790
};
27962791
};
27972792
additionalProperties: boolean;
@@ -2800,11 +2795,64 @@ declare class Server {
28002795
type: string;
28012796
minLength: number;
28022797
};
2798+
WatchOptionsChokidar: {
2799+
type: string;
2800+
additionalProperties: boolean;
2801+
description: string;
2802+
link: string;
2803+
properties: {
2804+
persistent: {
2805+
type: string;
2806+
};
2807+
ignored: {
2808+
type: string;
2809+
};
2810+
ignoreInitial: {
2811+
type: string;
2812+
};
2813+
followSymlinks: {
2814+
type: string /** @type {ServerOptions} */;
2815+
};
2816+
cwd: {
2817+
type: string;
2818+
};
2819+
disableGlobbing: {
2820+
type: string;
2821+
};
2822+
usePolling: {
2823+
type: string;
2824+
};
2825+
interval: {
2826+
type: string;
2827+
};
2828+
binaryInterval: {
2829+
type: string;
2830+
};
2831+
alwaysStat: {
2832+
type: string;
2833+
};
2834+
depth: {
2835+
type: string /** @type {ServerOptions} */;
2836+
};
2837+
awaitWriteFinish: {
2838+
type: string;
2839+
additionalProperties: boolean;
2840+
};
2841+
ignorePermissionErrors: {
2842+
type: string;
2843+
};
2844+
atomic: {
2845+
anyOf: {
2846+
type: string;
2847+
}[];
2848+
};
2849+
};
2850+
};
28032851
WebSocketServer: {
28042852
anyOf: {
28052853
$ref: string;
28062854
}[];
2807-
/** @type {ServerOptions} */ description: string;
2855+
description: string;
28082856
link: string;
28092857
};
28102858
WebSocketServerType: {

0 commit comments

Comments
 (0)