mol_crypto2_lib 0.0.70 → 0.0.72
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
|
@@ -750,8 +750,8 @@ declare namespace $ {
|
|
|
750
750
|
dir: string;
|
|
751
751
|
}> {
|
|
752
752
|
}
|
|
753
|
-
const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("
|
|
754
|
-
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("
|
|
753
|
+
const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("child_process").ChildProcess;
|
|
754
|
+
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
755
755
|
type $mol_run_options = {
|
|
756
756
|
command: readonly string[] | string;
|
|
757
757
|
dir: string;
|
|
@@ -760,10 +760,10 @@ declare namespace $ {
|
|
|
760
760
|
};
|
|
761
761
|
class $mol_run extends $mol_object {
|
|
762
762
|
static async_enabled(): boolean;
|
|
763
|
-
static spawn(options: $mol_run_options): import("
|
|
763
|
+
static spawn(options: $mol_run_options): import("child_process").SpawnSyncReturns<string | NonSharedBuffer> | $mol_run_error_context;
|
|
764
764
|
static spawn_async({ dir, sync, timeout, command, env }: $mol_run_options & {
|
|
765
765
|
sync?: boolean;
|
|
766
|
-
}): import("
|
|
766
|
+
}): import("child_process").SpawnSyncReturns<string | NonSharedBuffer> | (Promise<$mol_run_error_context> & {
|
|
767
767
|
destructor: () => void;
|
|
768
768
|
});
|
|
769
769
|
static error_message(res?: $mol_run_error_context): string;
|