types/process: expose writable stdin state flags

This commit is contained in:
Vincent Koc
2026-03-05 07:55:19 -05:00
parent c3ffaaa764
commit 73b3f655ba

View File

@@ -23,6 +23,9 @@ export type SessionStdin = {
// When backed by a real Node stream (child.stdin), this exists; for PTY wrappers it may not.
destroy?: () => void;
destroyed?: boolean;
writable?: boolean;
writableEnded?: boolean;
writableFinished?: boolean;
};
export interface ProcessSession {