Skip to content

Commit ceadd5d

Browse files
committed
chore: update types
1 parent 44b7c16 commit ceadd5d

File tree

2 files changed

+15
-10
lines changed

2 files changed

+15
-10
lines changed

types/bin/cli-flags.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,7 @@ declare const _exports: {
248248
type: string;
249249
multiple: boolean;
250250
description: string;
251+
negatedDescription: string;
251252
path: string;
252253
}[];
253254
description: string;

types/lib/Server.d.ts

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -802,10 +802,15 @@ declare class Server {
802802
type: string;
803803
multiple: boolean;
804804
description: string;
805+
negatedDescription: string;
805806
path: string;
806807
}[];
807808
description: string;
808809
simpleType: string;
810+
/**
811+
* @param {string} gateway
812+
* @returns {string | undefined}
813+
*/
809814
multiple: boolean;
810815
};
811816
host: {
@@ -824,7 +829,7 @@ declare class Server {
824829
type: string;
825830
}
826831
)[];
827-
/** @type {NetworkInterfaceInfo[]} */ description: string;
832+
description: string;
828833
simpleType: string;
829834
multiple: boolean;
830835
};
@@ -886,9 +891,6 @@ declare class Server {
886891
multiple: boolean;
887892
};
888893
"https-ca-reset": {
889-
/**
890-
* @type {string | undefined}
891-
*/
892894
configs: {
893895
description: string;
894896
multiple: boolean;
@@ -1045,7 +1047,7 @@ declare class Server {
10451047
values: boolean[];
10461048
multiple: boolean;
10471049
description: string;
1048-
path: string;
1050+
path: string /** @type {Object<string,string>} */;
10491051
}
10501052
)[];
10511053
description: string;
@@ -1069,13 +1071,14 @@ declare class Server {
10691071
type: string;
10701072
multiple: boolean;
10711073
description: string;
1072-
negatedDescription: string;
1074+
/** @type {string} */ negatedDescription: string;
10731075
path: string;
10741076
}[];
10751077
description: string;
10761078
simpleType: string;
10771079
multiple: boolean;
10781080
};
1081+
/** @type {MultiCompiler} */
10791082
open: {
10801083
configs: (
10811084
| {
@@ -1344,9 +1347,9 @@ declare class Server {
13441347
type: string;
13451348
values: string[];
13461349
}[];
1347-
description: string;
1350+
/** @type {ServerOptions} */ description: string;
13481351
multiple: boolean;
1349-
simpleType: string;
1352+
simpleType: string /** @type {ServerOptions} */;
13501353
};
13511354
static: {
13521355
configs: {
@@ -1364,7 +1367,7 @@ declare class Server {
13641367
type: string;
13651368
multiple: boolean;
13661369
description: string;
1367-
path: string;
1370+
path: string /** @type {any} */;
13681371
}[];
13691372
description: string;
13701373
simpleType: string;
@@ -1474,8 +1477,9 @@ declare class Server {
14741477
)[];
14751478
description: string;
14761479
simpleType: string;
1477-
multiple: boolean;
1480+
multiple: boolean /** @type {ServerOptions & { cacert?: ServerOptions["ca"] }} */;
14781481
};
1482+
/** @type {ServerOptions & { cacert?: ServerOptions["ca"] }} */
14791483
"web-socket-server-type": {
14801484
configs: (
14811485
| {

0 commit comments

Comments
 (0)