Fix StartOS 0.4 TypeScript packaging to match SDK API
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Extracts a string result from a stdout/stderr pair.
|
||||
* Returns `stdout` on success; rejects with `stderr` if it is non-empty.
|
||||
*
|
||||
* @param x - An object containing `stdout` and `stderr` strings
|
||||
* @returns A promise resolving to `stdout`, or rejecting with `stderr`
|
||||
*/
|
||||
export declare function stringFromStdErrOut(x: {
|
||||
stdout: string;
|
||||
stderr: string;
|
||||
}): Promise<string>;
|
||||
Reference in New Issue
Block a user