Skip to content

Commit f989f10

Browse files
committed
fix(core): fix method names
1 parent d535a18 commit f989f10

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@ declare class Faker {
7171
paragraph(options?: OptionsParagraph): string;
7272
domain(options?: OptionsDomain): string;
7373
email(options?: OptionsEmail): string;
74-
firstname(options?: OptionsFirstname): string;
75-
lastname(options?: OptionsLastname): string;
74+
firstName(options?: OptionsFirstname): string;
75+
lastName(options?: OptionsLastname): string;
7676
}
7777
declare const faker: Faker;
7878
export default faker;

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class Faker {
7373
paragraph(options) {
7474
return paragraph(options);
7575
}
76-
76+
7777
domain(options) {
7878
return domain(options);
7979
}

0 commit comments

Comments
 (0)