diff --git a/package.json b/package.json index 85ac211..e08b93d 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/types.ts b/src/types.ts index 5ce8075..a38d26f 100644 --- a/src/types.ts +++ b/src/types.ts @@ -334,10 +334,9 @@ export type PerfectContent = { // Plain, 1st, and 2nd Inflection export type InflectionSet = ArrayFixed, 3>; -export type UnisexInflections = { - masc: InflectionSet, - fem: InflectionSet, -} +export type Gender = "masc" | "fem"; + +export type UnisexInflections = Record; export type Inflections = UnisexInflections | Omit | Omit;