mol_dump_lib 0.0.1052 → 0.0.1053
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 +5 -5
- package/package.json +1 -1
package/node.d.ts
CHANGED
|
@@ -653,8 +653,8 @@ declare namespace $ {
|
|
|
653
653
|
dir: string;
|
|
654
654
|
}> {
|
|
655
655
|
}
|
|
656
|
-
const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("
|
|
657
|
-
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("
|
|
656
|
+
const $mol_run_spawn: (...args: Parameters<(typeof $node)["child_process"]["spawn"]>) => import("child_process").ChildProcess;
|
|
657
|
+
const $mol_run_spawn_sync: (...args: Parameters<(typeof $node)["child_process"]["spawnSync"]>) => import("child_process").SpawnSyncReturns<string | NonSharedBuffer>;
|
|
658
658
|
type $mol_run_options = {
|
|
659
659
|
command: readonly string[] | string;
|
|
660
660
|
dir: string;
|
|
@@ -663,10 +663,10 @@ declare namespace $ {
|
|
|
663
663
|
};
|
|
664
664
|
class $mol_run extends $mol_object {
|
|
665
665
|
static async_enabled(): boolean;
|
|
666
|
-
static spawn(options: $mol_run_options): import("
|
|
666
|
+
static spawn(options: $mol_run_options): import("child_process").SpawnSyncReturns<string | NonSharedBuffer> | $mol_run_error_context;
|
|
667
667
|
static spawn_async({ dir, sync, timeout, command, env }: $mol_run_options & {
|
|
668
668
|
sync?: boolean;
|
|
669
|
-
}): import("
|
|
669
|
+
}): import("child_process").SpawnSyncReturns<string | NonSharedBuffer> | (Promise<$mol_run_error_context> & {
|
|
670
670
|
destructor: () => void;
|
|
671
671
|
});
|
|
672
672
|
static error_message(res?: $mol_run_error_context): string;
|
|
@@ -3041,7 +3041,7 @@ declare namespace $ {
|
|
|
3041
3041
|
declare namespace $ {
|
|
3042
3042
|
class $mol_storage_node extends $mol_storage {
|
|
3043
3043
|
static persisted(): boolean;
|
|
3044
|
-
static stats(): import("
|
|
3044
|
+
static stats(): import("fs").StatsFs;
|
|
3045
3045
|
static total(): number;
|
|
3046
3046
|
static used(): number;
|
|
3047
3047
|
static free(): number;
|