more type
This commit is contained in:
parent
3d6e02f6fa
commit
d46bf8900b
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@lingdocs/pashto-inflector",
|
||||
"version": "0.9.2",
|
||||
"version": "0.9.3",
|
||||
"author": "lingdocs.com",
|
||||
"description": "A Pashto inflection and verb conjugation engine, inculding React components for displaying Pashto text, inflections, and conjugations",
|
||||
"homepage": "https://verbs.lingdocs.com",
|
||||
|
|
|
@ -334,10 +334,9 @@ export type PerfectContent = {
|
|||
// Plain, 1st, and 2nd Inflection
|
||||
export type InflectionSet = ArrayFixed<ArrayOneOrMore<PsString>, 3>;
|
||||
|
||||
export type UnisexInflections = {
|
||||
masc: InflectionSet,
|
||||
fem: InflectionSet,
|
||||
}
|
||||
export type Gender = "masc" | "fem";
|
||||
|
||||
export type UnisexInflections = Record<Gender, InflectionSet>;
|
||||
|
||||
export type Inflections = UnisexInflections
|
||||
| Omit<UnisexInflections, "fem"> | Omit<UnisexInflections, "masc">;
|
||||
|
|
Loading…
Reference in New Issue