Skip to content

Commit a1ee32d

Browse files
committed
fix: unconditional nulls
1 parent 4bafdd3 commit a1ee32d

21 files changed

Lines changed: 88 additions & 128 deletions

__tests__/fixtures/docker/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* WARN: Do not edit directly.
55
*
6-
* Generated on 2026-01-09T08:12:37.078Z
6+
* Generated on 2026-01-09T08:22:09.389Z
77
*
88
*/
99
/** eslint-disable max-classes */

__tests__/fixtures/docker/hono-valibot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* WARN: Do not edit directly.
55
*
6-
* Generated on 2026-01-09T08:12:37.078Z
6+
* Generated on 2026-01-09T08:22:09.389Z
77
*
88
*/
99
import { validator } from "hono/validator";

__tests__/fixtures/docker/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* WARN: Do not edit directly.
55
*
6-
* Generated on 2026-01-09T08:12:37.078Z
6+
* Generated on 2026-01-09T08:22:09.389Z
77
*
88
*/
99
import {

__tests__/fixtures/docker/types.ts

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* WARN: Do not edit directly.
55
*
6-
* Generated on 2026-01-09T08:12:37.078Z
6+
* Generated on 2026-01-09T08:22:09.389Z
77
*
88
*/
99
import type { Jsonifiable } from "type-fest";
@@ -7380,7 +7380,7 @@ type ContainerCreateJsonBody = {
73807380
Isolation?: "default" | "process" | "hyperv" | "";
73817381
MaskedPaths?: readonly string[];
73827382
ReadonlyPaths?: readonly string[];
7383-
} & null;
7383+
};
73847384
/**
73857385
* NetworkingConfig represents the container's networking configuration for
73867386
* each of its interfaces.
@@ -7394,7 +7394,7 @@ type ContainerCreateJsonBody = {
73947394
/* additionalProperties is not handled yet */ unknown
73957395
>;
73967396
};
7397-
} & null;
7397+
};
73987398
export type ContainerCreateCommandBody = ContainerCreateJsonBody;
73997399
export type ContainerCreateCommandInput = ContainerCreateJsonBody &
74007400
ContainerCreateCommandQuery;
@@ -7778,7 +7778,7 @@ export type ContainerInspectCommandOutput = {
77787778
Isolation?: "default" | "process" | "hyperv" | "";
77797779
MaskedPaths?: readonly string[];
77807780
ReadonlyPaths?: readonly string[];
7781-
} & null;
7781+
};
77827782
GraphDriver?: {
77837783
/**
77847784
* Name of the storage driver.
@@ -8293,7 +8293,7 @@ type ContainerUpdateJsonBody = {
82938293
Name?: "" | "no" | "always" | "unless-stopped" | "on-failure";
82948294
MaximumRetryCount?: number;
82958295
};
8296-
} & null;
8296+
};
82978297
export type ContainerUpdateCommandParams = {
82988298
id: string;
82998299
};
@@ -12550,7 +12550,7 @@ export type SwarmInspectCommandOutput = {
1255012550
*/
1255112551
Manager?: string;
1255212552
};
12553-
} & null;
12553+
};
1255412554
type SwarmInitJsonBody = {
1255512555
ListenAddr?: string;
1255612556
AdvertiseAddr?: string;
@@ -13719,8 +13719,7 @@ type ServiceCreateJsonBody = {
1371913719
PublishMode?: "ingress" | "host";
1372013720
}[];
1372113721
};
13722-
} & Record<string | number, Jsonifiable> &
13723-
null;
13722+
} & Record<string | number, Jsonifiable>;
1372413723
export type ServiceCreateCommandBody = ServiceCreateJsonBody;
1372513724
export type ServiceCreateCommandInput = ServiceCreateJsonBody;
1372613725
export type ServiceCreateCommandOutput = {
@@ -14654,8 +14653,7 @@ type ServiceUpdateJsonBody = {
1465414653
PublishMode?: "ingress" | "host";
1465514654
}[];
1465614655
};
14657-
} & Record<string | number, Jsonifiable> &
14658-
null;
14656+
} & Record<string | number, Jsonifiable>;
1465914657
export type ServiceUpdateCommandParams = {
1466014658
id: string;
1466114659
};
@@ -15554,8 +15552,7 @@ type SecretCreateJsonBody = {
1555415552
/* additionalProperties is not handled yet */ unknown
1555515553
>;
1555615554
};
15557-
} & Record<string | number, Jsonifiable> &
15558-
null;
15555+
} & Record<string | number, Jsonifiable>;
1555915556
export type SecretCreateCommandBody = SecretCreateJsonBody;
1556015557
export type SecretCreateCommandInput = SecretCreateJsonBody;
1556115558
export type SecretCreateCommandOutput = {
@@ -15714,8 +15711,7 @@ type ConfigCreateJsonBody = {
1571415711
/* additionalProperties is not handled yet */ unknown
1571515712
>;
1571615713
};
15717-
} & Record<string | number, Jsonifiable> &
15718-
null;
15714+
} & Record<string | number, Jsonifiable>;
1571915715
export type ConfigCreateCommandBody = ConfigCreateJsonBody;
1572015716
export type ConfigCreateCommandInput = ConfigCreateJsonBody;
1572115717
export type ConfigCreateCommandOutput = {

__tests__/fixtures/docker/valibot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* WARN: Do not edit directly.
55
*
6-
* Generated on 2026-01-09T08:12:37.078Z
6+
* Generated on 2026-01-09T08:22:09.389Z
77
*
88
*/
99
import * as v from "valibot";

__tests__/fixtures/openai/commands.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* WARN: Do not edit directly.
55
*
6-
* Generated on 2026-01-09T08:12:18.614Z
6+
* Generated on 2026-01-09T08:23:27.053Z
77
*
88
*/
99
/** eslint-disable max-classes */

__tests__/fixtures/openai/hono-valibot.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* WARN: Do not edit directly.
55
*
6-
* Generated on 2026-01-09T08:12:18.614Z
6+
* Generated on 2026-01-09T08:23:27.053Z
77
*
88
*/
99
import { validator } from "hono/validator";

__tests__/fixtures/openai/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* WARN: Do not edit directly.
55
*
6-
* Generated on 2026-01-09T08:12:18.614Z
6+
* Generated on 2026-01-09T08:23:27.053Z
77
*
88
*/
99
import {

0 commit comments

Comments
 (0)