From 2eb85de4b885117f01f0ed99b436fb5d1d133b74 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Thu, 28 Apr 2022 14:58:48 +0200 Subject: [PATCH] chore: apply suggestions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Leyla Jähnig <77127505+xDivisionByZerox@users.noreply.github.com> --- src/modules/fake/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/fake/index.ts b/src/modules/fake/index.ts index 7ffe83d8fb3..93b99d8c11c 100644 --- a/src/modules/fake/index.ts +++ b/src/modules/fake/index.ts @@ -96,7 +96,7 @@ export class Fake { currentDefinitions = currentDefinitions?.[part]; } - let fn: (args?: unknown) => string; + let fn: (args?: unknown) => unknown; if (typeof currentModuleOrMethod === 'function') { fn = currentModuleOrMethod as (args?: unknown) => string; } else if (Array.isArray(currentDefinitions)) {