Skip to content

Commit

Permalink
docs(modules/company): fix proposed functions to deprecated method co…
Browse files Browse the repository at this point in the history
…mpany.name with parameter

Co-authored-by: Shinigami <chrissi92@hotmail.de>
  • Loading branch information
Minozzzi and Shinigami92 authored Aug 19, 2022
1 parent e6a2fca commit 21e3823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/company/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export class Company {
if (format != null) {
deprecated({
deprecated: 'faker.company.name(format)',
proposed: 'faker.company.name() or faker.fake(format)',
proposed: 'faker.company.name() or faker.helpers.fake(format)',
since: '7.4',
until: '8.0',
});
Expand Down

0 comments on commit 21e3823

Please sign in to comment.