From cea3b6b0b1e28ea984e876e0eab00d31d37f7025 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Lenon?= Date: Sun, 24 Sep 2023 16:56:04 +0100 Subject: [PATCH] fix(types): return right type of execa --- package-lock.json | 4 ++-- package.json | 2 +- src/types/CommandOutput.ts | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 14f73a5..b200caa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@athenna/common", - "version": "4.15.1", + "version": "4.15.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@athenna/common", - "version": "4.15.1", + "version": "4.15.2", "license": "MIT", "dependencies": { "@fastify/formbody": "^7.4.0", diff --git a/package.json b/package.json index c8296e3..bd1aa95 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@athenna/common", - "version": "4.15.1", + "version": "4.15.2", "description": "The Athenna common helpers to use in any Node.js ESM project.", "license": "MIT", "author": "João Lenon ", diff --git a/src/types/CommandOutput.ts b/src/types/CommandOutput.ts index 82c2370..6fb60b9 100644 --- a/src/types/CommandOutput.ts +++ b/src/types/CommandOutput.ts @@ -7,6 +7,6 @@ * file that was distributed with this source code. */ -import type { ExecaChildProcess } from 'execa' +import type { ExecaReturnValue } from 'execa' -export type CommandOutput = ExecaChildProcess +export type CommandOutput = ExecaReturnValue