Skip to content

Commit

Permalink
chore: apply suggestions
Browse files Browse the repository at this point in the history
Co-authored-by: Leyla Jähnig <77127505+xDivisionByZerox@users.noreply.github.com>
  • Loading branch information
ST-DDT and xDivisionByZerox committed May 3, 2022
1 parent 0abe8b6 commit 2eb85de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/fake/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit 2eb85de

Please sign in to comment.