Skip to content

feat: migrate name#103

Merged
Shinigami92 merged 4 commits into
faker-js:migrate-to-typescriptfrom
MohdImran001:migrate-name-2
Jan 14, 2022
Merged

feat: migrate name#103
Shinigami92 merged 4 commits into
faker-js:migrate-to-typescriptfrom
MohdImran001:migrate-name-2

Conversation

@MohdImran001

@MohdImran001 MohdImran001 commented Jan 12, 2022

Copy link
Copy Markdown
Contributor

Part of #72.
Test with npm run build && npx mocha test/name.unit.js

@Shinigami92 Shinigami92 changed the title feat: ✨ rewrite name module in typescript feat: migrate name Jan 12, 2022
@Shinigami92 Shinigami92 self-requested a review January 12, 2022 15:48
@Shinigami92 Shinigami92 added the p: 1-normal Nothing urgent label Jan 12, 2022
Comment thread src/name.ts Outdated
Comment thread src/name.ts Outdated
Comment thread src/name.ts Outdated
@Shinigami92 Shinigami92 mentioned this pull request Jan 12, 2022
27 tasks
@Shinigami92 Shinigami92 force-pushed the migrate-to-typescript branch 2 times, most recently from 24a00c3 to 3db7e8b Compare January 12, 2022 18:27
@Shinigami92 Shinigami92 marked this pull request as draft January 12, 2022 19:13
@Shinigami92 Shinigami92 marked this pull request as ready for review January 12, 2022 19:22
Comment thread src/name.ts Outdated
Comment thread src/name.ts Outdated
@Shinigami92 Shinigami92 force-pushed the migrate-to-typescript branch from fc36e2f to 7b02094 Compare January 13, 2022 14:24
Comment thread src/name.ts
firstName ||= this.faker.name.firstName(gender);
lastName ||= this.faker.name.lastName(gender);

switch (r) {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a note, this should be later transformed to a if

@Shinigami92 Shinigami92 merged commit 5d0d15c into faker-js:migrate-to-typescript Jan 14, 2022
Shinigami92 added a commit that referenced this pull request Jan 14, 2022
Co-authored-by: Shinigami92 <chrissi92@hotmail.de>
Shinigami92 added a commit that referenced this pull request Jan 14, 2022
Co-authored-by: Shinigami92 <chrissi92@hotmail.de>
damienwebdev pushed a commit that referenced this pull request Jan 14, 2022
Co-authored-by: Shinigami92 <chrissi92@hotmail.de>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

p: 1-normal Nothing urgent

4 participants