From a548a2963756ccf8d1206d83f73bffb4f70fcd4b Mon Sep 17 00:00:00 2001 From: lingdocs <71590811+lingdocs@users.noreply.github.com> Date: Wed, 6 Oct 2021 13:42:25 -0400 Subject: [PATCH] fix addEnglish --- package.json | 2 +- src/lib/p-text-helpers.ts | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index a5b058e..6a5e714 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@lingdocs/pashto-inflector", - "version": "1.1.2", + "version": "1.1.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/lib/p-text-helpers.ts b/src/lib/p-text-helpers.ts index 148bb00..753dc58 100644 --- a/src/lib/p-text-helpers.ts +++ b/src/lib/p-text-helpers.ts @@ -650,6 +650,7 @@ export function addEnglish(english: T.EnglishBlock | string, ps: T.VerbBlock): T export function addEnglish(english: T.EnglishBlock | string, ps: T.ImperativeBlock): T.ImperativeBlock; export function addEnglish(english: T.EnglishBlock | string, ps: T.ArrayOneOrMore): T.ArrayOneOrMore; export function addEnglish(english: T.EnglishBlock | string, ps: T.SentenceForm): T.SentenceForm; +export function addEnglish(english: T.EnglishBlock | string, ps: T.VerbBlock | T.ImperativeBlock | T.ArrayOneOrMore): T.VerbBlock | T.ImperativeBlock | T.ArrayOneOrMore; export function addEnglish( english: T.EnglishBlock | string, ps: T.VerbBlock | T.ImperativeBlock | T.ArrayOneOrMore | T.SentenceForm,