mol_view_tree2_lib 1.0.29 → 1.0.30
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
|
@@ -806,7 +806,7 @@ declare namespace $ {
|
|
|
806
806
|
}> {
|
|
807
807
|
}
|
|
808
808
|
const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("child_process").ChildProcess;
|
|
809
|
-
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string |
|
|
809
|
+
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
810
810
|
type $mol_run_options = {
|
|
811
811
|
command: readonly string[] | string;
|
|
812
812
|
dir: string;
|
|
@@ -815,10 +815,10 @@ declare namespace $ {
|
|
|
815
815
|
};
|
|
816
816
|
class $mol_run extends $mol_object {
|
|
817
817
|
static async_enabled(): boolean;
|
|
818
|
-
static spawn(options: $mol_run_options): $mol_run_error_context | import("child_process").SpawnSyncReturns<string |
|
|
818
|
+
static spawn(options: $mol_run_options): $mol_run_error_context | import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
819
819
|
static spawn_async({ dir, sync, timeout, command, env }: $mol_run_options & {
|
|
820
820
|
sync?: boolean;
|
|
821
|
-
}): import("child_process").SpawnSyncReturns<string |
|
|
821
|
+
}): import("child_process").SpawnSyncReturns<string | NonSharedBuffer> | (Promise<$mol_run_error_context> & {
|
|
822
822
|
destructor: () => void;
|
|
823
823
|
});
|
|
824
824
|
static error_message(res?: $mol_run_error_context): string;
|
|
@@ -826,7 +826,7 @@ declare namespace $ {
|
|
|
826
826
|
}
|
|
827
827
|
|
|
828
828
|
declare namespace $ {
|
|
829
|
-
function $mol_exec(this: $, dir: string, command: string, ...args: readonly string[]): $mol_run_error_context | import("child_process").SpawnSyncReturns<string |
|
|
829
|
+
function $mol_exec(this: $, dir: string, command: string, ...args: readonly string[]): $mol_run_error_context | import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
830
830
|
}
|
|
831
831
|
|
|
832
832
|
declare namespace $ {
|