From 5617fd6cb55d0bba8ba9e3e19258845b6a6f08b8 Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 3 Oct 2021 07:52:38 +0530 Subject: refactor: use correct datatypes in ts files --- src/helpers/asar-helpers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/helpers') diff --git a/src/helpers/asar-helpers.ts b/src/helpers/asar-helpers.ts index 3da90625d..9d975c193 100644 --- a/src/helpers/asar-helpers.ts +++ b/src/helpers/asar-helpers.ts @@ -5,6 +5,6 @@ export function asarPath(dir: string = '') { } // Replacing app.asar is not beautiful but unfortunately necessary -export function asarRecipesPath(...segments: any[]) { +export function asarRecipesPath(...segments: string[]) { return join(asarPath(join(__dirname, '..', 'recipes')), ...[segments].flat()); } -- cgit v1.2.3-54-g00ecf