From 0723edd66884894c4dc6d22f13930ff8398e28cf Mon Sep 17 00:00:00 2001 From: achingbrain Date: Thu, 12 Sep 2024 17:57:58 +0100 Subject: [PATCH] chore: update types --- src/kubo/daemon.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/kubo/daemon.ts b/src/kubo/daemon.ts index 5332ceea..4239e23e 100644 --- a/src/kubo/daemon.ts +++ b/src/kubo/daemon.ts @@ -1,6 +1,6 @@ import fs from 'node:fs/promises' import { logger } from '@libp2p/logger' -import { execa, type ExecaChildProcess } from 'execa' +import { execa, type ResultPromise } from 'execa' import mergeOptions from 'merge-options' import pDefer from 'p-defer' import waitFor from 'p-wait-for' @@ -25,7 +25,7 @@ export default class KuboDaemon implements KuboNode { public options: KuboOptions & Required> private readonly disposable: boolean - private subprocess?: ExecaChildProcess + private subprocess?: ResultPromise private _api?: KuboRPCClient private readonly repo: string private readonly stdout: Logger