Skip to content

Commit

Permalink
chore: fix todo author
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 authored Mar 23, 2022
1 parent 85c51c2 commit d5cdb3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/name.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ export enum Gender {
male = 'male',
}

// TODO christopher 21-03-2022: Remove 0 and 1 in v7
// TODO @Shinigami92 21-03-2022: Remove 0 and 1 in v7
export type GenderType = 'female' | 'male' | 0 | 1;

/**
Expand All @@ -18,7 +18,7 @@ function normalizeGender(
gender?: GenderType
): Exclude<GenderType, number> | undefined {
if (gender == null || typeof gender === 'string') {
// TODO christopher 21-03-2022: Cast can be removed when we set `strict: true`
// TODO @Shinigami92 21-03-2022: Cast can be removed when we set `strict: true`
return gender as Exclude<GenderType, number>;
}

Expand Down

0 comments on commit d5cdb3b

Please sign in to comment.