Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: migrate name #103

Merged

Conversation

MohdImran001
Copy link
Contributor

@MohdImran001 MohdImran001 commented Jan 12, 2022

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
src/name.ts Outdated Show resolved Hide resolved
src/name.ts Outdated Show resolved Hide resolved
src/name.ts Outdated Show resolved Hide resolved
@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
src/name.ts Outdated Show resolved Hide resolved
src/name.ts Outdated Show resolved Hide resolved
firstName ||= this.faker.name.firstName(gender);
lastName ||= this.faker.name.lastName(gender);

switch (r) {
Copy link
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants