Skip to content

Commit

Permalink
chore: add function return type
Browse files Browse the repository at this point in the history
Co-authored-by: Honza Machala <[email protected]>
  • Loading branch information
Shinigami92 and HonzaMac committed Jan 14, 2022
1 parent e37dbb1 commit 830fc0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fake.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 = '';

Expand Down

0 comments on commit 830fc0e

Please sign in to comment.