This commit is contained in:
lingdocs 2022-05-09 10:56:24 -05:00
parent f05bfdfc33
commit 3472287157
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@lingdocs/pashto-inflector", "name": "@lingdocs/pashto-inflector",
"version": "2.4.8", "version": "2.4.9",
"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",

View File

@ -30,6 +30,7 @@ const blank: T.PsString = {
p: "______", p: "______",
f: "______", f: "______",
}; };
type BlankoutOptions = { equative?: boolean, ba?: boolean, kidsSection?: boolean };
const kidsBlank = makeSegment({ p: "___", f: "___" }, ["isKid"]); const kidsBlank = makeSegment({ p: "___", f: "___" }, ["isKid"]);
@ -256,7 +257,6 @@ function arrangeVerbWNegative(head: T.PsString | undefined, restRaw: T.PsString[
]; ];
} }
type BlankoutOptions = { equative: boolean, ba: boolean, kidsSection: boolean };
export function compileEP(EP: T.EPRendered): { ps: T.SingleOrLengthOpts<T.PsString[]>, e?: string[] }; export function compileEP(EP: T.EPRendered): { ps: T.SingleOrLengthOpts<T.PsString[]>, e?: string[] };
export function compileEP(EP: T.EPRendered, combineLengths: true, blankOut?: BlankoutOptions): { ps: T.PsString[], e?: string[] }; export function compileEP(EP: T.EPRendered, combineLengths: true, blankOut?: BlankoutOptions): { ps: T.PsString[], e?: string[] };
export function compileEP(EP: T.EPRendered, combineLengths?: boolean, blankOut?: BlankoutOptions): { ps: T.SingleOrLengthOpts<T.PsString[]>, e?: string[] } { export function compileEP(EP: T.EPRendered, combineLengths?: boolean, blankOut?: BlankoutOptions): { ps: T.SingleOrLengthOpts<T.PsString[]>, e?: string[] } {