mol_jsx_lib 0.0.1437 → 0.0.1439
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
|
@@ -461,7 +461,7 @@ declare namespace $ {
|
|
|
461
461
|
}> {
|
|
462
462
|
}
|
|
463
463
|
const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("child_process").ChildProcess;
|
|
464
|
-
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string |
|
|
464
|
+
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
465
465
|
type $mol_run_options = {
|
|
466
466
|
command: readonly string[] | string;
|
|
467
467
|
dir: string;
|
|
@@ -470,10 +470,10 @@ declare namespace $ {
|
|
|
470
470
|
};
|
|
471
471
|
class $mol_run extends $mol_object {
|
|
472
472
|
static async_enabled(): boolean;
|
|
473
|
-
static spawn(options: $mol_run_options): $mol_run_error_context | import("child_process").SpawnSyncReturns<string |
|
|
473
|
+
static spawn(options: $mol_run_options): $mol_run_error_context | import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
474
474
|
static spawn_async({ dir, sync, timeout, command, env }: $mol_run_options & {
|
|
475
475
|
sync?: boolean;
|
|
476
|
-
}): import("child_process").SpawnSyncReturns<string |
|
|
476
|
+
}): import("child_process").SpawnSyncReturns<string | NonSharedBuffer> | (Promise<$mol_run_error_context> & {
|
|
477
477
|
destructor: () => void;
|
|
478
478
|
});
|
|
479
479
|
static error_message(res?: $mol_run_error_context): string;
|
|
@@ -481,7 +481,7 @@ declare namespace $ {
|
|
|
481
481
|
}
|
|
482
482
|
|
|
483
483
|
declare namespace $ {
|
|
484
|
-
function $mol_exec(this: $, dir: string, command: string, ...args: readonly string[]): $mol_run_error_context | import("child_process").SpawnSyncReturns<string |
|
|
484
|
+
function $mol_exec(this: $, dir: string, command: string, ...args: readonly string[]): $mol_run_error_context | import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
declare namespace $ {
|