Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Eric Cheng <[email protected]>
  • Loading branch information
ST-DDT and ejcheng authored Jan 5, 2025
1 parent f95cc4d commit 2a62e55
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/definitions/person.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ import type { LocaleEntry } from './definitions';
export type PersonEntryDefinition<T> =
| {
/**
* Values that are primarily attributable to only males.
* Values that are primarily attributable to only females.
*/
female: T[];
/**
* Values that cannot clearly be attributed to a specific sex or are used for both sexes.
*/
generic?: T[];
/**
* Values that are primarily attributable to only females.
* Values that are primarily attributable to only males.
*/
male: T[];
}
| {
female?: never;
/**
* Values that cannot clearly be attributed to a specific sex or are used both sexes.
* Values that cannot clearly be attributed to a specific sex or are used for both sexes.
*/
generic: T[];
male?: never;
Expand Down

0 comments on commit 2a62e55

Please sign in to comment.