From 3dc59e30acccb8891acbe0152df5e12f3d8114e9 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Tue, 11 Jan 2022 10:27:17 +0100 Subject: [PATCH] chore: add function return type Co-authored-by: Honza Machala --- src/fake.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fake.ts b/src/fake.ts index fbdfcad1c4e..e435ce8966e 100644 --- a/src/fake.ts +++ b/src/fake.ts @@ -31,7 +31,7 @@ export class Fake { * @method faker.fake * @param str */ - fake(str: string) { + fake(str: string): string { // setup default response as empty string let res = '';