Skip to content

Commit efb8315

Browse files
committed
Fix generated types
1 parent 7101191 commit efb8315

2 files changed

Lines changed: 12 additions & 22 deletions

File tree

types/generated-snapshot/experimental/index.d.ts

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3956,28 +3956,23 @@ interface ExecOutput {
39563956
readonly stdout: ArrayBuffer;
39573957
readonly stderr: ArrayBuffer;
39583958
readonly exitCode: number;
3959-
readonly __stdoutp: ArrayBuffer;
3960-
readonly __stderrp: ArrayBuffer;
39613959
}
39623960
interface ContainerExecOptions {
3961+
stdin?: ReadableStream | "pipe";
3962+
stdout?: "pipe" | "ignore";
3963+
stderr?: "pipe" | "ignore" | "combined";
39633964
cwd?: string;
39643965
env?: Record<string, string>;
39653966
user?: string;
3966-
__stdinp?: ReadableStream | "pipe";
3967-
__stdoutp?: "pipe" | "ignore";
3968-
__stderrp?: "pipe" | "ignore" | "combined";
39693967
}
39703968
interface ExecProcess {
3971-
get stdin(): WritableStream | undefined;
3972-
get stdout(): ReadableStream | undefined;
3973-
get stderr(): ReadableStream | undefined;
3969+
readonly stdin: WritableStream | null;
3970+
readonly stdout: ReadableStream | null;
3971+
readonly stderr: ReadableStream | null;
39743972
readonly pid: number;
39753973
readonly exitCode: Promise<number>;
39763974
output(): Promise<ExecOutput>;
39773975
kill(signal?: number): void;
3978-
readonly __stdinp: WritableStream | null;
3979-
readonly __stdoutp: ReadableStream | null;
3980-
readonly __stderrp: ReadableStream | null;
39813976
}
39823977
interface Container {
39833978
get running(): boolean;

types/generated-snapshot/experimental/index.ts

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3962,28 +3962,23 @@ export interface ExecOutput {
39623962
readonly stdout: ArrayBuffer;
39633963
readonly stderr: ArrayBuffer;
39643964
readonly exitCode: number;
3965-
readonly __stdoutp: ArrayBuffer;
3966-
readonly __stderrp: ArrayBuffer;
39673965
}
39683966
export interface ContainerExecOptions {
3967+
stdin?: ReadableStream | "pipe";
3968+
stdout?: "pipe" | "ignore";
3969+
stderr?: "pipe" | "ignore" | "combined";
39693970
cwd?: string;
39703971
env?: Record<string, string>;
39713972
user?: string;
3972-
__stdinp?: ReadableStream | "pipe";
3973-
__stdoutp?: "pipe" | "ignore";
3974-
__stderrp?: "pipe" | "ignore" | "combined";
39753973
}
39763974
export interface ExecProcess {
3977-
get stdin(): WritableStream | undefined;
3978-
get stdout(): ReadableStream | undefined;
3979-
get stderr(): ReadableStream | undefined;
3975+
readonly stdin: WritableStream | null;
3976+
readonly stdout: ReadableStream | null;
3977+
readonly stderr: ReadableStream | null;
39803978
readonly pid: number;
39813979
readonly exitCode: Promise<number>;
39823980
output(): Promise<ExecOutput>;
39833981
kill(signal?: number): void;
3984-
readonly __stdinp: WritableStream | null;
3985-
readonly __stdoutp: ReadableStream | null;
3986-
readonly __stderrp: ReadableStream | null;
39873982
}
39883983
export interface Container {
39893984
get running(): boolean;

0 commit comments

Comments
 (0)