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