mam 1.11.748 → 1.11.749
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/node.d.ts +4 -4
- package/package.json +1 -1
package/node.d.ts
CHANGED
|
@@ -587,7 +587,7 @@ declare namespace $ {
|
|
|
587
587
|
}> {
|
|
588
588
|
}
|
|
589
589
|
const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("child_process").ChildProcess;
|
|
590
|
-
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string |
|
|
590
|
+
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
591
591
|
type $mol_run_options = {
|
|
592
592
|
command: readonly string[] | string;
|
|
593
593
|
dir: string;
|
|
@@ -596,10 +596,10 @@ declare namespace $ {
|
|
|
596
596
|
};
|
|
597
597
|
class $mol_run extends $mol_object {
|
|
598
598
|
static async_enabled(): boolean;
|
|
599
|
-
static spawn(options: $mol_run_options): $mol_run_error_context | import("child_process").SpawnSyncReturns<string |
|
|
599
|
+
static spawn(options: $mol_run_options): $mol_run_error_context | import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
600
600
|
static spawn_async({ dir, sync, timeout, command, env }: $mol_run_options & {
|
|
601
601
|
sync?: boolean;
|
|
602
|
-
}): import("child_process").SpawnSyncReturns<string |
|
|
602
|
+
}): import("child_process").SpawnSyncReturns<string | NonSharedBuffer> | (Promise<$mol_run_error_context> & {
|
|
603
603
|
destructor: () => void;
|
|
604
604
|
});
|
|
605
605
|
static error_message(res?: $mol_run_error_context): string;
|
|
@@ -607,7 +607,7 @@ declare namespace $ {
|
|
|
607
607
|
}
|
|
608
608
|
|
|
609
609
|
declare namespace $ {
|
|
610
|
-
function $mol_exec(this: $, dir: string, command: string, ...args: readonly string[]): $mol_run_error_context | import("child_process").SpawnSyncReturns<string |
|
|
610
|
+
function $mol_exec(this: $, dir: string, command: string, ...args: readonly string[]): $mol_run_error_context | import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
611
611
|
}
|
|
612
612
|
|
|
613
613
|
declare namespace $ {
|